projects
/
plugin.video.netflix.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
26c305a
)
fix bandwidth calulation
author
liberty-developer
<liberty.developer@xmail.net>
Sun, 29 Jan 2017 17:34:31 +0000
(18:34 +0100)
committer
liberty-developer
<liberty.developer@xmail.net>
Sun, 29 Jan 2017 17:34:31 +0000
(18:34 +0100)
resources/lib/MSL.py
patch
|
blob
|
history
diff --git
a/resources/lib/MSL.py
b/resources/lib/MSL.py
index 83ae2e7abfe2b34cfff46f67f3fc4bc0ff4ff196..bbf0e21d27a4f1cc40db43692e166992f6ecc724 100644
(file)
--- a/
resources/lib/MSL.py
+++ b/
resources/lib/MSL.py
@@
-233,7
+233,7
@@
class MSL:
rep = ET.SubElement(video_adaption_set, 'Representation',
width=str(downloadable['width']),
height=str(downloadable['height']),
rep = ET.SubElement(video_adaption_set, 'Representation',
width=str(downloadable['width']),
height=str(downloadable['height']),
- bandwidth=str(downloadable['bitrate']*
8*
1024),
+ bandwidth=str(downloadable['bitrate']*1024),
codecs='h264',
mimeType='video/mp4')
codecs='h264',
mimeType='video/mp4')
@@
-254,7
+254,7
@@
class MSL:
for downloadable in audio_track['downloadables']:
rep = ET.SubElement(audio_adaption_set, 'Representation',
codecs='aac',
for downloadable in audio_track['downloadables']:
rep = ET.SubElement(audio_adaption_set, 'Representation',
codecs='aac',
- bandwidth=str(downloadable['bitrate']
* 8 *
1024),
+ bandwidth=str(downloadable['bitrate']
*
1024),
mimeType='audio/mp4')
#AudioChannel Config
mimeType='audio/mp4')
#AudioChannel Config