mirror of
https://github.com/yt-dlp/yt-dlp.git
synced 2024-12-14 15:22:35 +00:00
[downloader/ffmpeg] Fix --ppa
when using simultaneous download
This commit is contained in:
parent
f6745c4980
commit
6b6c16ca6c
1 changed files with 2 additions and 3 deletions
|
@ -377,8 +377,6 @@ class FFmpegFD(ExternalFD):
|
||||||
# http://trac.ffmpeg.org/ticket/6125#comment:10
|
# http://trac.ffmpeg.org/ticket/6125#comment:10
|
||||||
args += ['-seekable', '1' if seekable else '0']
|
args += ['-seekable', '1' if seekable else '0']
|
||||||
|
|
||||||
args += self._configuration_args()
|
|
||||||
|
|
||||||
# start_time = info_dict.get('start_time') or 0
|
# start_time = info_dict.get('start_time') or 0
|
||||||
# if start_time:
|
# if start_time:
|
||||||
# args += ['-ss', compat_str(start_time)]
|
# args += ['-ss', compat_str(start_time)]
|
||||||
|
@ -446,7 +444,8 @@ class FFmpegFD(ExternalFD):
|
||||||
|
|
||||||
for url in urls:
|
for url in urls:
|
||||||
args += ['-i', url]
|
args += ['-i', url]
|
||||||
args += ['-c', 'copy']
|
|
||||||
|
args += self._configuration_args() + ['-c', 'copy']
|
||||||
if info_dict.get('requested_formats'):
|
if info_dict.get('requested_formats'):
|
||||||
for (i, fmt) in enumerate(info_dict['requested_formats']):
|
for (i, fmt) in enumerate(info_dict['requested_formats']):
|
||||||
if fmt.get('acodec') != 'none':
|
if fmt.get('acodec') != 'none':
|
||||||
|
|
Loading…
Reference in a new issue