diff options
Diffstat (limited to 'bin/stream')
-rwxr-xr-x | bin/stream | 6 |
1 files changed, 5 insertions, 1 deletions
@@ -208,7 +208,11 @@ filter_watermark() { } filter_split_codec() { heights_webm=$1; heights_mpeg=$2; codeccount=$(valuedargcount "$@") - printf_each "[v%s]split=$codeccount$(printf_each '[v%swebm]' "$heights_webm")$(printf_each '[v%smpeg]' "$heights_mpeg")" "$HEIGHTS" + for height in $HEIGHTS; do + echo_n "[v%s]split=$codeccount" + printf_each '[v%swebm]' "$heights_webm" + printf_each '[v%smpeg]' "$heights_mpeg" + done } encode_opus() { |