commit 3547d26587214f0e8ade1295dab0438d88a567de
parent 7e62c2eb6d13ebf0fdd24c90c2f439177d485081
Author: Jaime Marquínez Ferrándiz <jaime.marquinez.ferrandiz@gmail.com>
Date: Sat, 6 Feb 2016 18:58:18 +0100
[FFmpegSubtitlesConvertorPP] correctly update the extension (fixes #8444)
Diffstat:
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git 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(),
}