summaryrefslogtreecommitdiff
path: root/bin
diff options
context:
space:
mode:
Diffstat (limited to 'bin')
-rwxr-xr-xbin/stream6
1 files changed, 5 insertions, 1 deletions
diff --git a/bin/stream b/bin/stream
index 72a2710..39e8929 100755
--- a/bin/stream
+++ b/bin/stream
@@ -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() {