2
0
Эх сурвалжийг харах

[FFmpegSubtitlesConvertorPP] correctly update the extension (fixes #8444)

Jaime Marquínez Ferrándiz 9 жил өмнө
parent
commit
3547d26587

+ 1 - 1
youtube_dl/postprocessor/ffmpeg.py

@@ -523,7 +523,7 @@ class FFmpegSubtitlesConvertorPP(FFmpegPostProcessor):
 
             with io.open(new_file, 'rt', encoding='utf-8') as f:
                 subs[lang] = {
-                    'ext': ext,
+                    'ext': new_ext,
                     'data': f.read(),
                 }