Skip to content

Commit 90b868f

Browse files
committed
mp3float is a decoder
1 parent 3ed8467 commit 90b868f

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

auto_editor/edit.py

+2
Original file line numberDiff line numberDiff line change
@@ -92,6 +92,8 @@ def set_audio_codec(
9292
codec = "aac" if (src is None or not src.audios) else src.audios[0].codec
9393
if codec not in ctr.acodecs and ctr.default_aud != "none":
9494
return ctr.default_aud
95+
if codec == "mp3float":
96+
return "mp3"
9597
return codec
9698

9799
if codec == "copy":

0 commit comments

Comments
 (0)