ensure that the bitrate is always an integer
This commit is contained in:
parent
13d8fbef30
commit
1f4942fbf9
@ -280,7 +280,7 @@ class ProSiebenSat1IE(InfoExtractor):
|
|||||||
'play_path': mobj.group('playpath'),
|
'play_path': mobj.group('playpath'),
|
||||||
'player_url': 'http://livepassdl.conviva.com/hf/ver/2.79.0.17083/LivePassModuleMain.swf',
|
'player_url': 'http://livepassdl.conviva.com/hf/ver/2.79.0.17083/LivePassModuleMain.swf',
|
||||||
'page_url': 'http://www.prosieben.de',
|
'page_url': 'http://www.prosieben.de',
|
||||||
'vbr': fix_bitrate(source['bitrate']),
|
'vbr': fix_bitrate(int(source['bitrate'])),
|
||||||
'ext': 'mp4',
|
'ext': 'mp4',
|
||||||
'format_id': '%s_%s' % (source['cdn'], source['bitrate']),
|
'format_id': '%s_%s' % (source['cdn'], source['bitrate']),
|
||||||
})
|
})
|
||||||
|
Loading…
x
Reference in New Issue
Block a user