1
0
Fork 0
mirror of https://codeberg.org/polarisfm/youtube-dl.git synced 2024-12-25 09:11:34 +00:00

[FFmpegSubtitlesConvertorPP] remove intermediate srt files

This commit is contained in:
Jaime Marquínez Ferrándiz 2016-02-06 19:04:18 +01:00
parent 3547d26587
commit 7b8b007cd9

View file

@ -518,6 +518,8 @@ class FFmpegSubtitlesConvertorPP(FFmpegPostProcessor):
if new_ext == 'srt': if new_ext == 'srt':
continue continue
else:
sub_filenames.append(srt_file)
self.run_ffmpeg(old_file, new_file, ['-f', new_format]) self.run_ffmpeg(old_file, new_file, ['-f', new_format])