Check also if there are json subtitles

This commit is contained in:
Riteo 2024-08-14 02:28:08 +02:00
parent 62e274f515
commit 9db000a9af

View File

@ -649,7 +649,7 @@ def run(self, info):
mp4_ass_warn = True mp4_ass_warn = True
self.report_warning('ASS subtitles cannot be properly embedded in mp4 files; expect issues') 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 return [], info
input_files = [filename, *sub_filenames] input_files = [filename, *sub_filenames]