aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSergey M․ <dstftw@gmail.com>2015-01-29 00:44:40 +0600
committerSergey M․ <dstftw@gmail.com>2015-01-29 00:44:40 +0600
commitdcf53d440801505a27ee5615e3fb58b6a794bc73 (patch)
tree4bc111cf02d94fcd78a35a30122d599761ac76b1
parent63be3b89894f26caf69d9667f8e7db5ecbcb03ab (diff)
[YoutubeDL] Set format_id for video+audio (Closes #3634)
-rwxr-xr-xyoutube_dl/YoutubeDL.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/youtube_dl/YoutubeDL.py b/youtube_dl/YoutubeDL.py
index 7f054cdff..4c238c555 100755
--- a/youtube_dl/YoutubeDL.py
+++ b/youtube_dl/YoutubeDL.py
@@ -1074,6 +1074,7 @@ class YoutubeDL(object):
selected_format = {
'requested_formats': formats_info,
'format': rf,
+ 'format_id': rf,
'ext': formats_info[0]['ext'],
'width': formats_info[0].get('width'),
'height': formats_info[0].get('height'),