[ffmpeg] try to convert tt subtitles usng dfxp2srt
authorremitamine <remitamine@gmail.com>
Fri, 1 Apr 2016 18:47:20 +0000 (19:47 +0100)
committerremitamine <remitamine@gmail.com>
Fri, 1 Apr 2016 18:47:49 +0000 (19:47 +0100)
youtube_dl/postprocessor/ffmpeg.py

index 06b8c05482013c1c521267c7d4406c0124f0c972..b64cd396bca6f2ec4457e64a294ec7bc9208bbf1 100644 (file)
@@ -536,7 +536,7 @@ class FFmpegSubtitlesConvertorPP(FFmpegPostProcessor):
             sub_filenames.append(old_file)
             new_file = subtitles_filename(filename, lang, new_ext)
 
-            if ext == 'dfxp' or ext == 'ttml':
+            if ext == 'dfxp' or ext == 'ttml' or ext == 'tt':
                 self._downloader.report_warning(
                     'You have requested to convert dfxp (TTML) subtitles into another format, '
                     'which results in style information loss')