A feature-rich command-line audio/video downloader
[FFmpegSubtitlesConvertorPP] fix not working when srt is used as the intermediate format between ttml/dfxp and other format
Jaime Marquínez Ferrándiz7e62c2eb6d13
diff --git a/youtube_dl/postprocessor/ffmpeg.py b/youtube_dl/postprocessor/ffmpeg.pyindex 22d7ac65ac..6daa6a8b46 100644--- a/youtube_dl/postprocessor/ffmpeg.py+++ b/youtube_dl/postprocessor/ffmpeg.py@@ -508,6 +508,7 @@ class FFmpegSubtitlesConvertorPP(FFmpegPostProcessor):with io.open(srt_file, 'wt', encoding='utf-8') as f:f.write(srt_data)+ old_file = srt_fileext = 'srt'subs[lang] = {