about summary refs log tree commit diff
path: root/youtube_dl/extractor/reddit.py
diff options
context:
space:
mode:
authorSergey M․ <dstftw@gmail.com>2017-10-07 01:40:00 +0700
committerSergey M․ <dstftw@gmail.com>2017-10-07 01:40:00 +0700
commit665f42d8c14626404372b349624632b8d39f3c0e (patch)
tree44c2d68e649a981150021f38abf2dd64d0d50022 /youtube_dl/extractor/reddit.py
parente95284754192ea4b5b4e32f1a2274e5767d980b5 (diff)
downloadyoutube-dl-665f42d8c14626404372b349624632b8d39f3c0e.tar.gz
youtube-dl-665f42d8c14626404372b349624632b8d39f3c0e.tar.xz
youtube-dl-665f42d8c14626404372b349624632b8d39f3c0e.zip
[reddit] Sort formats (closes #14430)
Diffstat (limited to 'youtube_dl/extractor/reddit.py')
-rw-r--r--youtube_dl/extractor/reddit.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/youtube_dl/extractor/reddit.py b/youtube_dl/extractor/reddit.py
index 01c85ee01..4d44b9d74 100644
--- a/youtube_dl/extractor/reddit.py
+++ b/youtube_dl/extractor/reddit.py
@@ -35,6 +35,8 @@ class RedditIE(InfoExtractor):
             'https://v.redd.it/%s/DASHPlaylist.mpd' % video_id, video_id,
             mpd_id='dash', fatal=False))
 
+        self._sort_formats(formats)
+
         return {
             'id': video_id,
             'title': video_id,