Browse Source

[appletrailers] Use centralized format selection

totalwebcasting
Philipp Hagemeister 11 years ago
parent
commit
7b8af56340
1 changed files with 2 additions and 1 deletions
  1. +2
    -1
      youtube_dl/extractor/appletrailers.py

+ 2
- 1
youtube_dl/extractor/appletrailers.py View File

@ -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',


Loading…
Cancel
Save