1
0
Fork 0
mirror of https://github.com/ytdl-org/youtube-dl.git synced 2024-11-29 13:42:37 +00:00

[prosiebensat1] Fix bitrate calculation

This commit is contained in:
Philipp Hagemeister 2014-09-13 07:35:27 +02:00
parent 9291475f7d
commit 5309602106

View file

@ -249,7 +249,7 @@ class ProSiebenSat1IE(InfoExtractor):
urls_sources = urls_sources.values() urls_sources = urls_sources.values()
def fix_bitrate(bitrate): 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: for source in urls_sources:
protocol = source['protocol'] protocol = source['protocol']