]> gitweb @ CieloNegro.org - youtube-dl.git/commitdiff
[common] sort dash formats
authorremitamine <remitamine@gmail.com>
Sat, 6 Feb 2016 05:52:48 +0000 (06:52 +0100)
committerremitamine <remitamine@gmail.com>
Sat, 6 Feb 2016 05:52:48 +0000 (06:52 +0100)
youtube_dl/extractor/common.py

index d9f31daaa291e39c76de97d5648d2e7f54b8dfc9..5287fa4f6a40f18c37dae66529d0e9244ff0aab8 100644 (file)
@@ -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):