[imdb] Fix the resolution values (fixes #1847)

We were using the size of the player, it was the same for all the formats
pull/1850/head
Jaime Marquínez Ferrándiz 2013-11-29 07:56:14 +01:00
parent 17769d5a6c
commit acf37ca151
1 changed files with 1 additions and 2 deletions

View File

@ -46,8 +46,7 @@ class ImdbIE(InfoExtractor):
formats.append({
'format_id': f_id,
'url': format_info['url'],
'height': format_info['height'],
'width': format_info['width'],
'height': int(info['titleObject']['encoding']['selected'][:-1]),
})
return {