ensure that the bitrate is always an integer

This commit is contained in:
Markus Müller 2015-04-03 13:58:15 +02:00
parent 13d8fbef30
commit 1f4942fbf9

View File

@ -280,7 +280,7 @@ class ProSiebenSat1IE(InfoExtractor):
'play_path': mobj.group('playpath'),
'player_url': 'http://livepassdl.conviva.com/hf/ver/2.79.0.17083/LivePassModuleMain.swf',
'page_url': 'http://www.prosieben.de',
'vbr': fix_bitrate(source['bitrate']),
'vbr': fix_bitrate(int(source['bitrate'])),
'ext': 'mp4',
'format_id': '%s_%s' % (source['cdn'], source['bitrate']),
})