mirror of
https://github.com/yt-dlp/yt-dlp.git
synced 2024-11-21 20:46:36 -05:00
[youtube] Don't override format info from the dash manifest (fixes #4911)
This commit is contained in:
parent
3255fe7141
commit
ba61796458
1 changed files with 3 additions and 2 deletions
|
@ -780,8 +780,9 @@ def decrypt_sig(mobj):
|
|||
fo for fo in formats
|
||||
if fo['format_id'] == format_id)
|
||||
except StopIteration:
|
||||
f.update(self._formats.get(format_id, {}).items())
|
||||
formats.append(f)
|
||||
full_info = self._formats.get(format_id, {}).copy()
|
||||
full_info.update(f)
|
||||
formats.append(full_info)
|
||||
else:
|
||||
existing_format.update(f)
|
||||
return formats
|
||||
|
|
Loading…
Reference in a new issue