aboutsummaryrefslogtreecommitdiff
path: root/youtube_dl/extractor
diff options
context:
space:
mode:
authorPhilipp Hagemeister <phihag@phihag.de>2013-12-25 15:20:14 +0100
committerPhilipp Hagemeister <phihag@phihag.de>2013-12-25 15:20:14 +0100
commit539179f45bbeecefecfec4cba40dde7c7f4a813c (patch)
tree2e332e010f95641d57943afb81e52fa10954f57f /youtube_dl/extractor
parent7217e148fb03ea27edb12a878c959ebefec4c6c3 (diff)
[wistia] Use centralized sorting
Diffstat (limited to 'youtube_dl/extractor')
-rw-r--r--youtube_dl/extractor/wistia.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/youtube_dl/extractor/wistia.py b/youtube_dl/extractor/wistia.py
index e1748c261..584550455 100644
--- a/youtube_dl/extractor/wistia.py
+++ b/youtube_dl/extractor/wistia.py
@@ -45,7 +45,8 @@ class WistiaIE(InfoExtractor):
'filesize': a['size'],
'ext': a['ext'],
})
- formats.sort(key=lambda a: a['filesize'])
+
+ self._sort_formats(formats)
return {
'id': video_id,