]> git.bitcoin.ninja Git - youtube-dl/commitdiff
[FFmpegSubtitlesConvertorPP] remove intermediate srt files
authorJaime Marquínez Ferrándiz <jaime.marquinez.ferrandiz@gmail.com>
Sat, 6 Feb 2016 18:04:18 +0000 (19:04 +0100)
committerJaime Marquínez Ferrándiz <jaime.marquinez.ferrandiz@gmail.com>
Sat, 6 Feb 2016 18:04:18 +0000 (19:04 +0100)
youtube_dl/postprocessor/ffmpeg.py

index 05f2f06234d117a096d81eb01b482c85efad452e..6955b01f978c7e67b5330570971b1d0b423b8cf6 100644 (file)
@@ -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])