mirror of
https://github.com/yt-dlp/yt-dlp.git
synced 2024-11-14 21:23:05 +00:00
Check also if there are json subtitles
This commit is contained in:
parent
62e274f515
commit
9db000a9af
@ -649,7 +649,7 @@ class FFmpegEmbedSubtitlePP(FFmpegPostProcessor):
|
||||
mp4_ass_warn = True
|
||||
self.report_warning('ASS subtitles cannot be properly embedded in mp4 files; expect issues')
|
||||
|
||||
if not sub_langs:
|
||||
if not sub_langs and not json_subs:
|
||||
return [], info
|
||||
|
||||
input_files = [filename, *sub_filenames]
|
||||
|
Loading…
Reference in New Issue
Block a user