mirror of
https://github.com/yt-dlp/yt-dlp.git
synced 2024-12-13 14:37:43 +01:00
[YoutubeDL] Set format_id for video+audio (Closes #3634)
This commit is contained in:
parent
63be3b8989
commit
dcf53d4408
@ -1074,6 +1074,7 @@ def process_video_result(self, info_dict, download=True):
|
|||||||
selected_format = {
|
selected_format = {
|
||||||
'requested_formats': formats_info,
|
'requested_formats': formats_info,
|
||||||
'format': rf,
|
'format': rf,
|
||||||
|
'format_id': rf,
|
||||||
'ext': formats_info[0]['ext'],
|
'ext': formats_info[0]['ext'],
|
||||||
'width': formats_info[0].get('width'),
|
'width': formats_info[0].get('width'),
|
||||||
'height': formats_info[0].get('height'),
|
'height': formats_info[0].get('height'),
|
||||||
|
Loading…
Reference in New Issue
Block a user