From e202aae5d6e2700a054db467961b5068881009fe Mon Sep 17 00:00:00 2001 From: Riteo Date: Wed, 14 Aug 2024 01:58:12 +0200 Subject: [PATCH] Remove redundant copy_unknown --- yt_dlp/postprocessor/ffmpeg.py | 3 --- 1 file changed, 3 deletions(-) diff --git a/yt_dlp/postprocessor/ffmpeg.py b/yt_dlp/postprocessor/ffmpeg.py index b0d199636..6fa133729 100644 --- a/yt_dlp/postprocessor/ffmpeg.py +++ b/yt_dlp/postprocessor/ffmpeg.py @@ -655,9 +655,6 @@ def run(self, info): input_files = [filename, *sub_filenames] opts = [ - # Attached JSON subtitles don't have a codec id and we have to - # instruct FFMPEG to not discard them because of that. - '-copy_unknown', *self.stream_copy_opts(ext=info['ext']), # Don't copy the existing subtitles, we may be running the # postprocessor a second time