1
0
Fork 0
mirror of https://github.com/yt-dlp/yt-dlp.git synced 2025-03-09 12:50:23 -05: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'] args += ['-movflags', '+faststart']
if number == 1: if number == 1:
keys.append('') keys.append('')
args += self._configuration_args(self.basename, keys) args = self._configuration_args(self.basename, keys) + args
if name == 'i': if name == 'i':
args.append('-i') args.append('-i')
return ( return (