mirror of
https://github.com/ytdl-org/youtube-dl
synced 2024-11-27 13:06:49 +01:00
[peertube] Extract fps
This commit is contained in:
parent
51579d87e4
commit
13ec444a98
@ -543,6 +543,8 @@ class PeerTubeIE(InfoExtractor):
|
|||||||
})
|
})
|
||||||
if format_id == '0p':
|
if format_id == '0p':
|
||||||
f['vcodec'] = 'none'
|
f['vcodec'] = 'none'
|
||||||
|
else:
|
||||||
|
f['fps'] = int_or_none(file_.get('fps'))
|
||||||
formats.append(f)
|
formats.append(f)
|
||||||
self._sort_formats(formats)
|
self._sort_formats(formats)
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user