From: Jaime Marquínez Ferrándiz Date: Sat, 6 Feb 2016 17:58:18 +0000 (+0100) Subject: [FFmpegSubtitlesConvertorPP] correctly update the extension (fixes #8444) X-Git-Url: http://git.bitcoin.ninja/index.cgi?a=commitdiff_plain;h=3547d26587214f0e8ade1295dab0438d88a567de;p=youtube-dl [FFmpegSubtitlesConvertorPP] correctly update the extension (fixes #8444) --- diff --git a/youtube_dl/postprocessor/ffmpeg.py b/youtube_dl/postprocessor/ffmpeg.py index 6daa6a8b4..05f2f0623 100644 --- a/youtube_dl/postprocessor/ffmpeg.py +++ b/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(), }