Kaynağa Gözat

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

Jaime Marquínez Ferrándiz 9 yıl önce
ebeveyn
işleme
3547d26587
1 değiştirilmiş dosya ile 1 ekleme ve 1 silme
  1. 1 1
      youtube_dl/postprocessor/ffmpeg.py

+ 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(),
                 }