Skip to content

Commit

Permalink
mp3 now works with add_stream_from_template()
Browse files Browse the repository at this point in the history
  • Loading branch information
WyattBlue committed Dec 6, 2024
1 parent 5c532dd commit 55bcc75
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion av/container/output.pyx
Original file line number Diff line number Diff line change
Expand Up @@ -148,7 +148,7 @@ cdef class OutputContainer(Container):
cdef const lib.AVCodec *codec
cdef Codec codec_obj

if template.type == "subtitle":
if template.type != "video":
codec_obj = template.codec_context.codec
else:
codec_obj = Codec(template.codec_context.codec.name, "w")
Expand Down

0 comments on commit 55bcc75

Please sign in to comment.