From: remitamine Date: Sat, 6 Feb 2016 05:52:48 +0000 (+0100) Subject: [common] sort dash formats X-Git-Url: https://git.cielonegro.org/gitweb.cgi?a=commitdiff_plain;h=0826a0b555a06e0cc9047a7779c0f55612c8f3a3;p=youtube-dl.git [common] sort dash formats --- diff --git a/youtube_dl/extractor/common.py b/youtube_dl/extractor/common.py index d9f31daaa..5287fa4f6 100644 --- a/youtube_dl/extractor/common.py +++ b/youtube_dl/extractor/common.py @@ -1481,6 +1481,7 @@ class InfoExtractor(object): existing_format.update(f) else: self.report_warning('Unknown MIME type %s in DASH manifest' % mime_type) + self._sort_formats(formats) return formats def _live_title(self, name):