[YoutubeDL] Set format_id for video+audio (Closes #3634)
authorSergey M․ <dstftw@gmail.com>
Wed, 28 Jan 2015 18:44:40 +0000 (00:44 +0600)
committerSergey M․ <dstftw@gmail.com>
Wed, 28 Jan 2015 18:44:40 +0000 (00:44 +0600)
youtube_dl/YoutubeDL.py

index 7f054cdff8b0766f0afe5c99109c58adade47d14..4c238c55507159206aa41f779f2a810ef37d87f4 100755 (executable)
@@ -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'),