aboutsummaryrefslogtreecommitdiff
path: root/youtube_dlc/extractor/peertube.py
diff options
context:
space:
mode:
Diffstat (limited to 'youtube_dlc/extractor/peertube.py')
-rw-r--r--youtube_dlc/extractor/peertube.py4
1 files changed, 4 insertions, 0 deletions
diff --git a/youtube_dlc/extractor/peertube.py b/youtube_dlc/extractor/peertube.py
index 48fb95416..c39d12728 100644
--- a/youtube_dlc/extractor/peertube.py
+++ b/youtube_dlc/extractor/peertube.py
@@ -541,6 +541,10 @@ class PeerTubeIE(InfoExtractor):
'format_id': format_id,
'filesize': file_size,
})
+ if format_id == '0p':
+ f['vcodec'] = 'none'
+ else:
+ f['fps'] = int_or_none(file_.get('fps'))
formats.append(f)
self._sort_formats(formats)