Updated audio conditional
This commit is contained in:
parent
44f8b4d6f4
commit
20c4a6082d
1 changed files with 1 additions and 1 deletions
|
@ -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,
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue