forked from 0x2620/pandora
broken frame is 128/80
This commit is contained in:
parent
88df4a3ee6
commit
1be2e6108a
1 changed files with 1 additions and 1 deletions
|
@ -331,7 +331,7 @@ class Item(models.Model):
|
||||||
if 'video' in s.info and s.info['video']:
|
if 'video' in s.info and s.info['video']:
|
||||||
stream['aspectRatio'] = s.info['video'][0]['width'] / s.info['video'][0]['height']
|
stream['aspectRatio'] = s.info['video'][0]['width'] / s.info['video'][0]['height']
|
||||||
else:
|
else:
|
||||||
stream['aspectRatio'] = 4/3
|
stream['aspectRatio'] = 128/80
|
||||||
if settings.XSENDFILE or settings.XACCELREDIRECT:
|
if settings.XSENDFILE or settings.XACCELREDIRECT:
|
||||||
stream['baseUrl'] = '/%s' % self.itemId
|
stream['baseUrl'] = '/%s' % self.itemId
|
||||||
else:
|
else:
|
||||||
|
|
Loading…
Reference in a new issue