clips should return default videoRatio

This commit is contained in:
j 2011-12-30 12:14:12 +05:30
parent d48254c1d2
commit 001fbd3ba5

View file

@ -52,6 +52,8 @@ class MetaClip:
'position': 'start', 'position': 'start',
'videoRatio': 'aspect_ratio', 'videoRatio': 'aspect_ratio',
}.get(key, key)) }.get(key, key))
if not j['videoRatio']:
j['videoRatio'] = 4/3
if keys: if keys:
for key in j.keys(): for key in j.keys():
if key not in keys: if key not in keys: