diff options
author | Sergey M․ <dstftw@gmail.com> | 2015-02-06 00:51:16 +0600 |
---|---|---|
committer | Sergey M․ <dstftw@gmail.com> | 2015-02-06 00:51:16 +0600 |
commit | 300753a0695c17979d6ac42147cb162ff0eedea5 (patch) | |
tree | 4ae6a6c138f4c0d386118f93828b6c0f44568bee /youtube_dl/YoutubeDL.py | |
parent | f13b88c61696eaeb96878b5c68b7ab949a3f4ca6 (diff) |
[YoutubeDL] Fix video+audio format field (Closes #4880)
Diffstat (limited to 'youtube_dl/YoutubeDL.py')
-rwxr-xr-x | youtube_dl/YoutubeDL.py | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/youtube_dl/YoutubeDL.py b/youtube_dl/YoutubeDL.py index 1730df4cd..9605f8f99 100755 --- a/youtube_dl/YoutubeDL.py +++ b/youtube_dl/YoutubeDL.py @@ -1076,7 +1076,8 @@ class YoutubeDL(object): else self.params['merge_output_format']) selected_format = { 'requested_formats': formats_info, - 'format': rf, + 'format': '%s+%s' % (formats_info[0].get('format'), + formats_info[1].get('format')), 'format_id': '%s+%s' % (formats_info[0].get('format_id'), formats_info[1].get('format_id')), 'width': formats_info[0].get('width'), |