From 28af1f773e39a91891fa31470fdd0e42bf7e206b Mon Sep 17 00:00:00 2001 From: Jonas Smedegaard Date: Thu, 4 May 2017 17:54:36 +0200 Subject: Fix include mapping in MKWEBM closure. --- bin/stream | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bin/stream b/bin/stream index 49501ae..0236af7 100755 --- a/bin/stream +++ b/bin/stream @@ -105,8 +105,8 @@ ffmpeg -hide_banner -threads auto -re \ -f segment -segment_format matroska -segment_format_options live=1:reserve_index_space=512kB \ -segment_list "$SAVESTEM.ffconcat" -segment_list_flags live \ -segment_time 600 -segment_atclocktime 1 -strftime 1 "$SAVESTEM-%H%M.mkv"} \ - ${HASAUDIO:+-map '0:a' } ${HASVIDEO:+-map '[webm]' } \ ${MKWEBM:+\ + ${HASAUDIO:+-map '0:a' } ${HASVIDEO:+-map '[webm]' } \ ${HASAUDIO:+\ -codec:a libopus -ac "$ACHANNELS" -ar "$AFRAMERATE" -b:a "$ABITRATE" } \ ${HASVIDEO:+\ -- cgit v1.2.3