From 001fbd3ba5e836ab21da58229e06f565ea542818 Mon Sep 17 00:00:00 2001 From: j <0x006A@0x2620.org> Date: Fri, 30 Dec 2011 12:14:12 +0530 Subject: [PATCH] clips should return default videoRatio --- pandora/clip/models.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/pandora/clip/models.py b/pandora/clip/models.py index 7b07388e..d9a5efed 100644 --- a/pandora/clip/models.py +++ b/pandora/clip/models.py @@ -52,6 +52,8 @@ class MetaClip: 'position': 'start', 'videoRatio': 'aspect_ratio', }.get(key, key)) + if not j['videoRatio']: + j['videoRatio'] = 4/3 if keys: for key in j.keys(): if key not in keys: