diff options
author | Jaime Marquínez Ferrándiz <jaime.marquinez.ferrandiz@gmail.com> | 2016-02-06 19:04:18 +0100 |
---|---|---|
committer | Jaime Marquínez Ferrándiz <jaime.marquinez.ferrandiz@gmail.com> | 2016-02-06 19:04:18 +0100 |
commit | 7b8b007cd9b55326b45598130c9cdde8839d5340 (patch) | |
tree | feef3344d959f148eaea0f920c5707b473774198 | |
parent | 3547d26587214f0e8ade1295dab0438d88a567de (diff) |
[FFmpegSubtitlesConvertorPP] remove intermediate srt files
-rw-r--r-- | youtube_dl/postprocessor/ffmpeg.py | 2 |
1 files changed, 2 insertions, 0 deletions
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]) |