1
0
mirror of https://github.com/yt-dlp/yt-dlp.git synced 2025-06-27 17:08:32 +00:00

Override user configured args

This allows `ModifyChaptersPP` to re-encode the video using user supplied codecs, then use `-c copy` to concatenate the files without encoding again.
This commit is contained in:
tcely 2025-02-08 20:48:08 -05:00 committed by GitHub
parent 19edaa44fc
commit 816d8ec98a
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -347,7 +347,7 @@ def make_args(file, args, name, number):
args += ['-movflags', '+faststart']
if number == 1:
keys.append('')
args += self._configuration_args(self.basename, keys)
args = self._configuration_args(self.basename, keys) + args
if name == 'i':
args.append('-i')
return (