Browse Source

[prosiebensat1] Fix bitrate calculation

totalwebcasting
Philipp Hagemeister 10 years ago
parent
commit
5309602106
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      youtube_dl/extractor/prosiebensat1.py

+ 1
- 1
youtube_dl/extractor/prosiebensat1.py View File

@ -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']


Loading…
Cancel
Save