1
0
Fork 0
mirror of https://github.com/ytdl-org/youtube-dl.git synced 2024-11-22 10:11:52 +00:00

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

This commit is contained in:
Jaime Marquínez Ferrándiz 2016-02-06 18:58:18 +01:00
parent 7e62c2eb6d
commit 3547d26587

View file

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