summaryrefslogtreecommitdiff
path: root/bin/stream
diff options
context:
space:
mode:
Diffstat (limited to 'bin/stream')
-rwxr-xr-xbin/stream2
1 files changed, 1 insertions, 1 deletions
diff --git a/bin/stream b/bin/stream
index 7a68f4b..c350ce7 100755
--- a/bin/stream
+++ b/bin/stream
@@ -197,7 +197,7 @@ filters_compose() { logo=$1;
printf_each '[s%s]' "$HEIGHTS"
echo_n ';'
for height in $HEIGHTS; do
- echo_n "[s$height]scale=iw*sar*$height/ih:$height,setsar=1"
+ echo_n "[s$height]scale=trunc(iw*sar*$height/ih/2)*2:$height,setsar=1"
[ -z "$logo" ] || echo_n "[bg$height];[bg$height][$logo:v]overlay=main_w-overlay_w-20:main_h-overlay_h-20"
echo_n "[v$height]"
done