mirror of
https://github.com/l1ving/youtube-dl
synced 2024-12-31 02:33:21 +08:00
[rts] Check formats (Closes #5711)
This commit is contained in:
parent
25c3a7348f
commit
70d0d43b5e
@ -190,6 +190,7 @@ class RTSIE(InfoExtractor):
|
|||||||
'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 {
|
||||||
|
Loading…
Reference in New Issue
Block a user