muxsa-pngaac2mp4: restore default output file name

This commit is contained in:
Sebastian Kiesel 2023-08-07 09:38:39 +02:00
parent 496816ae65
commit 4f2763c5e4

View File

@ -74,6 +74,10 @@ shift "$((OPTIND-1))"
if [ -z "$VIDEO_OUT" -a -n "$1" ] ; then
VIDEO_OUT="$1"
fi
# last resort: default output file name
if [ -z "$VIDEO_OUT" ] ; then
VIDEO_OUT="out.mp4"
fi
if [ -z "$AUDIO_IN" -a -r "soundtrack.m4a" ] ; then
echo "Setting AUDIO_IN to default file name soundtrack.m4a"