diff options
author | dirkf <fieldhouse@gmx.net> | 2022-10-11 12:36:44 +0000 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-10-11 12:36:44 +0000 |
commit | 11b284c81fe2988813c817918536fc3a5630870a (patch) | |
tree | d721aa3fc9cfe157fc21a08720ee1a100491dd94 | |
parent | c94a459a248352fd97dccc79ed6604a558459bfd (diff) | |
download | youtube-dl-11b284c81fe2988813c817918536fc3a5630870a.tar.gz youtube-dl-11b284c81fe2988813c817918536fc3a5630870a.tar.xz |
[Common:JWPlayer] Fix x1000 scaling error
See https://github.com/yt-dlp/yt-dlp/issues/5106#issuecomment-1264625161
-rw-r--r-- | youtube_dl/extractor/common.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/youtube_dl/extractor/common.py b/youtube_dl/extractor/common.py index 797c35fd5..1f33a1e06 100644 --- a/youtube_dl/extractor/common.py +++ b/youtube_dl/extractor/common.py @@ -2844,7 +2844,7 @@ class InfoExtractor(object): 'url': source_url, 'width': int_or_none(source.get('width')), 'height': height, - 'tbr': int_or_none(source.get('bitrate')), + 'tbr': int_or_none(source.get('bitrate'), scale=1000), 'ext': ext, } if source_url.startswith('rtmp'): |