Fix an issue where there was a newline in HAS_AUDIO variable
This commit is contained in:
parent
4139aaf0d4
commit
5863a2fa38
@ -20,7 +20,7 @@ OPTS=();
|
||||
|
||||
AUDIO_FILTER="[0:a]atempo=$(echo "$INV_RATIO")[a]";
|
||||
|
||||
HAS_AUDIO=$(ffprobe "$IN_FILE" 2>&1 | grep Stream | grep --count Audio || echo "0");
|
||||
HAS_AUDIO=$( (ffprobe "$IN_FILE" || echo "") 2>&1 | grep Stream | grep --count Audio | tail -n 1);
|
||||
HAS_VIDEO=$(ffprobe "$IN_FILE" 2>&1 | grep Stream | grep --count Video || echo "0");
|
||||
|
||||
slow () {
|
||||
|
Loading…
Reference in New Issue
Block a user