2
0
Эх сурвалжийг харах

[FFmpegSubtitlesConvertorPP] remove intermediate srt files

Jaime Marquínez Ferrándiz 9 жил өмнө
parent
commit
7b8b007cd9

+ 2 - 0
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])