From: Sergey M․ Date: Thu, 5 Feb 2015 18:51:16 +0000 (+0600) Subject: [YoutubeDL] Fix video+audio format field (Closes #4880) X-Git-Url: https://git.cielonegro.org/gitweb.cgi?a=commitdiff_plain;h=300753a0695c17979d6ac42147cb162ff0eedea5;p=youtube-dl.git [YoutubeDL] Fix video+audio format field (Closes #4880) --- 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'),