X-Git-Url: http://git.bitcoin.ninja/index.cgi?a=blobdiff_plain;f=youtube_dl%2Fpostprocessor%2Fffmpeg.py;h=380bc6f292f2390fdf5dabd131a20184ba8334df;hb=7360db05b43741c2dfa1fd024e9c2f013ed97c9e;hp=05f2f06234d117a096d81eb01b482c85efad452e;hpb=3547d26587214f0e8ade1295dab0438d88a567de;p=youtube-dl diff --git a/youtube_dl/postprocessor/ffmpeg.py b/youtube_dl/postprocessor/ffmpeg.py index 05f2f0623..380bc6f29 100644 --- a/youtube_dl/postprocessor/ffmpeg.py +++ b/youtube_dl/postprocessor/ffmpeg.py @@ -510,7 +510,6 @@ class FFmpegSubtitlesConvertorPP(FFmpegPostProcessor): f.write(srt_data) old_file = srt_file - ext = 'srt' subs[lang] = { 'ext': 'srt', 'data': srt_data @@ -518,6 +517,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])