commit: 7b8af56340bcc7521bb05da14d2dce6d949ce916
parent 539179f45bbeecefecfec4cba40dde7c7f4a813c
Author: Philipp Hagemeister <phihag@phihag.de>
Date: Wed, 25 Dec 2013 15:24:41 +0100
[appletrailers] Use centralized format selection
Diffstat:
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/youtube_dl/extractor/appletrailers.py b/youtube_dl/extractor/appletrailers.py
@@ -110,7 +110,8 @@ class AppleTrailersIE(InfoExtractor):
'width': format['width'],
'height': int(format['height']),
})
- formats = sorted(formats, key=lambda f: (f['height'], f['width']))
+
+ self._sort_formats(formats)
playlist.append({
'_type': 'video',