projects
/
youtube-dl
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
9291475
)
[prosiebensat1] Fix bitrate calculation
author
Philipp Hagemeister
<phihag@phihag.de>
Sat, 13 Sep 2014 05:35:27 +0000
(07:35 +0200)
committer
Philipp Hagemeister
<phihag@phihag.de>
Sat, 13 Sep 2014 05:35:27 +0000
(07:35 +0200)
youtube_dl/extractor/prosiebensat1.py
patch
|
blob
|
history
diff --git
a/youtube_dl/extractor/prosiebensat1.py
b/youtube_dl/extractor/prosiebensat1.py
index da64a1a7b4c0d8bceb89415894c84d651c7ac566..421998e914c20af064696bee0024f1a2277cffa0 100644
(file)
--- 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']