1
0
Fork 0
mirror of https://github.com/ytdl-org/youtube-dl.git synced 2024-05-16 10:09:32 +00:00

[peertube] Extract fps

This commit is contained in:
Sergey M․ 2020-12-05 04:45:30 +07:00
parent 51579d87e4
commit 13ec444a98
No known key found for this signature in database
GPG key ID: 2C393E0F18A9236D

View file

@ -543,6 +543,8 @@ class PeerTubeIE(InfoExtractor):
})
if format_id == '0p':
f['vcodec'] = 'none'
else:
f['fps'] = int_or_none(file_.get('fps'))
formats.append(f)
self._sort_formats(formats)