[rts] Check formats (Closes #5711)

This commit is contained in:
Sergey M․ 2015-05-15 23:32:25 +06:00
parent 25c3a7348f
commit 70d0d43b5e

View File

@ -190,6 +190,7 @@ def extract_bitrate(url):
'tbr': media['rate'] or extract_bitrate(media['url']), 'tbr': media['rate'] or extract_bitrate(media['url']),
} for media in info['media'] if media.get('rate')]) } for media in info['media'] if media.get('rate')])
self._check_formats(formats, video_id)
self._sort_formats(formats) self._sort_formats(formats)
return { return {