[extractor/reddit] Add vcodec to fallback format (#5591)

Authored by: chengzhicn
This commit is contained in:
chengzhicn 2022-11-20 04:14:21 +08:00 committed by GitHub
parent 29ca408219
commit 02b2f9fa7d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -171,6 +171,7 @@ def add_thumbnail(src):
'width': int_or_none(reddit_video.get('width')), 'width': int_or_none(reddit_video.get('width')),
'tbr': int_or_none(reddit_video.get('bitrate_kbps')), 'tbr': int_or_none(reddit_video.get('bitrate_kbps')),
'acodec': 'none', 'acodec': 'none',
'vcodec': 'h264',
'ext': 'mp4', 'ext': 'mp4',
'format_id': 'fallback', 'format_id': 'fallback',
'format_note': 'DASH video, mp4_dash', 'format_note': 'DASH video, mp4_dash',