From 7b8b007cd9b55326b45598130c9cdde8839d5340 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jaime=20Marqui=CC=81nez=20Ferra=CC=81ndiz?= Date: Sat, 6 Feb 2016 19:04:18 +0100 Subject: [PATCH] [FFmpegSubtitlesConvertorPP] remove intermediate srt files --- youtube_dl/postprocessor/ffmpeg.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/youtube_dl/postprocessor/ffmpeg.py b/youtube_dl/postprocessor/ffmpeg.py index 05f2f0623..6955b01f9 100644 --- a/youtube_dl/postprocessor/ffmpeg.py +++ b/youtube_dl/postprocessor/ffmpeg.py @@ -518,6 +518,8 @@ class FFmpegSubtitlesConvertorPP(FFmpegPostProcessor): if new_ext == 'srt': continue + else: + sub_filenames.append(srt_file) self.run_ffmpeg(old_file, new_file, ['-f', new_format])