mirror of
https://github.com/yt-dlp/yt-dlp.git
synced 2024-11-21 20:46:36 -05:00
[YoutubeDL] Copy over format metadata when merging (Fixes #4671)
This commit is contained in:
parent
230b2287dd
commit
f90ad27375
1 changed files with 8 additions and 0 deletions
|
@ -913,6 +913,14 @@ def process_video_result(self, info_dict, download=True):
|
|||
'requested_formats': formats_info,
|
||||
'format': rf,
|
||||
'ext': formats_info[0]['ext'],
|
||||
'width': formats_info[0].get('width'),
|
||||
'height': formats_info[0].get('height'),
|
||||
'resolution': formats_info[0].get('resolution'),
|
||||
'fps': formats_info[0].get('fps'),
|
||||
'vcodec': formats_info[0].get('vcodec'),
|
||||
'vbr': formats_info[0].get('vbr'),
|
||||
'acodec': formats_info[1].get('acodec'),
|
||||
'abr': formats_info[1].get('abr'),
|
||||
}
|
||||
else:
|
||||
selected_format = None
|
||||
|
|
Loading…
Reference in a new issue