From 20c4a6082dbb9653853f3e7b15075f874a97e214 Mon Sep 17 00:00:00 2001 From: Alex Eidt Date: Wed, 30 Mar 2022 22:17:07 -0700 Subject: [PATCH] Updated audio conditional --- videowriter.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/videowriter.go b/videowriter.go index fc328b8..7dca8a7 100644 --- a/videowriter.go +++ b/videowriter.go @@ -185,7 +185,7 @@ func initVideoWriter(writer *VideoWriter) { } // If audio was included, then specify video and audio channels. - if writer.audio != "" { + if writer.audio != "" && !gif { command = append( command, "-acodec", writer.audio_codec,