From: Jaime Marquínez Ferrándiz Date: Sat, 6 Feb 2016 18:04:18 +0000 (+0100) Subject: [FFmpegSubtitlesConvertorPP] remove intermediate srt files X-Git-Url: http://git.oshgnacknak.de/?a=commitdiff_plain;h=7b8b007cd9b55326b45598130c9cdde8839d5340;p=youtube-dl [FFmpegSubtitlesConvertorPP] remove intermediate srt files --- 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])