From 9db000a9af3e080d7ac4ff0d2ec790580db95b82 Mon Sep 17 00:00:00 2001 From: Riteo Date: Wed, 14 Aug 2024 02:28:08 +0200 Subject: [PATCH] Check also if there are json subtitles --- yt_dlp/postprocessor/ffmpeg.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/yt_dlp/postprocessor/ffmpeg.py b/yt_dlp/postprocessor/ffmpeg.py index d986d12b8..616af58d8 100644 --- a/yt_dlp/postprocessor/ffmpeg.py +++ b/yt_dlp/postprocessor/ffmpeg.py @@ -649,7 +649,7 @@ def run(self, info): 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]