mirror of https://github.com/yt-dlp/yt-dlp.git
[core] Fix `filepath` being copied to underlying format dict
Closes #6536
This commit is contained in:
parent
ad54c9130e
commit
84078a8b38
|
@ -3212,6 +3212,8 @@ class YoutubeDL:
|
||||||
dl_filename = existing_video_file(full_filename, temp_filename)
|
dl_filename = existing_video_file(full_filename, temp_filename)
|
||||||
|
|
||||||
info_dict['__real_download'] = False
|
info_dict['__real_download'] = False
|
||||||
|
# NOTE: Copy so that original format dicts are not modified
|
||||||
|
info_dict['requested_formats'] = list(map(dict, info_dict['requested_formats']))
|
||||||
|
|
||||||
merger = FFmpegMergerPP(self)
|
merger = FFmpegMergerPP(self)
|
||||||
downloaded = []
|
downloaded = []
|
||||||
|
|
Loading…
Reference in New Issue