fix width and height error

This commit is contained in:
kjy00302 2016-03-16 00:01:25 +09:00
parent 86fd62ce46
commit 70b464a666

View File

@ -135,8 +135,8 @@ class TvpleIE(InfoExtractor):
'url': playpage['stream']['sources'][formatid]['urls']['mp4_avc'],
'ext': 'mp4', # tvple using mp4 for main format
'format_id': formatid,
'width': playpage['stream']['width'],
'height': playpage['stream']['height']
'width': int(playpage['stream']['width']),
'height': int(playpage['stream']['height'])
})
subtitles = self.extract_subtitles(playpage, title, video_id, duration, playpage['stream']['width'], playpage['stream']['height'])