diff options
author | Philipp Hagemeister <phihag@phihag.de> | 2014-09-13 07:35:27 +0200 |
---|---|---|
committer | Philipp Hagemeister <phihag@phihag.de> | 2014-09-13 07:35:27 +0200 |
commit | 5309602106a0365745de6d5f5c7cd248b54d8d43 (patch) | |
tree | be9e1e0aac09dd71c8001a96d756a910ef9d41d6 | |
parent | 9291475f7da52bc7c7a7e6dada7e311197d3c7be (diff) |
[prosiebensat1] Fix bitrate calculation
-rw-r--r-- | youtube_dl/extractor/prosiebensat1.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/youtube_dl/extractor/prosiebensat1.py b/youtube_dl/extractor/prosiebensat1.py index da64a1a7b..421998e91 100644 --- a/youtube_dl/extractor/prosiebensat1.py +++ b/youtube_dl/extractor/prosiebensat1.py @@ -249,7 +249,7 @@ class ProSiebenSat1IE(InfoExtractor): urls_sources = urls_sources.values() def fix_bitrate(bitrate): - return bitrate / 1000 if bitrate % 1000 == 0 else bitrate + return (bitrate // 1000) if bitrate % 1000 == 0 else bitrate for source in urls_sources: protocol = source['protocol'] |