Browse Source

[reddit] Sort formats (closes #14430)

Sergey M․ 8 years ago
parent
commit
665f42d8c1
1 changed files with 2 additions and 0 deletions
  1. 2 0
      youtube_dl/extractor/reddit.py

+ 2 - 0
youtube_dl/extractor/reddit.py

@@ -35,6 +35,8 @@ class RedditIE(InfoExtractor):
             'https://v.redd.it/%s/DASHPlaylist.mpd' % video_id, video_id,
             'https://v.redd.it/%s/DASHPlaylist.mpd' % video_id, video_id,
             mpd_id='dash', fatal=False))
             mpd_id='dash', fatal=False))
 
 
+        self._sort_formats(formats)
+
         return {
         return {
             'id': video_id,
             'id': video_id,
             'title': video_id,
             'title': video_id,