Updated audio conditional

This commit is contained in:
Alex Eidt 2022-03-30 22:17:07 -07:00
parent 44f8b4d6f4
commit 20c4a6082d

View file

@ -185,7 +185,7 @@ func initVideoWriter(writer *VideoWriter) {
} }
// If audio was included, then specify video and audio channels. // If audio was included, then specify video and audio channels.
if writer.audio != "" { if writer.audio != "" && !gif {
command = append( command = append(
command, command,
"-acodec", writer.audio_codec, "-acodec", writer.audio_codec,