]> jfr.im git - yt-dlp.git/commitdiff
[downloader/ffmpeg] Fix `--ppa` when using simultaneous download
authorpukkandan <redacted>
Sun, 27 Jun 2021 02:12:13 +0000 (07:42 +0530)
committerpukkandan <redacted>
Fri, 2 Jul 2021 02:47:30 +0000 (08:17 +0530)
yt_dlp/downloader/external.py

index 28b1d4e2b4e7930e3d4886ac6beb9480cd172fda..bfe444e8829e2b957d8dd14dcb7ce85a4b4a721e 100644 (file)
@@ -377,8 +377,6 @@ def _call_downloader(self, tmpfilename, info_dict):
             # http://trac.ffmpeg.org/ticket/6125#comment:10
             args += ['-seekable', '1' if seekable else '0']
 
-        args += self._configuration_args()
-
         # start_time = info_dict.get('start_time') or 0
         # if start_time:
         #     args += ['-ss', compat_str(start_time)]
@@ -446,7 +444,8 @@ def _call_downloader(self, tmpfilename, info_dict):
 
         for url in urls:
             args += ['-i', url]
-        args += ['-c', 'copy']
+
+        args += self._configuration_args() + ['-c', 'copy']
         if info_dict.get('requested_formats'):
             for (i, fmt) in enumerate(info_dict['requested_formats']):
                 if fmt.get('acodec') != 'none':