forked from 0x2620/pandora
clips should return default videoRatio
This commit is contained in:
parent
d48254c1d2
commit
001fbd3ba5
1 changed files with 2 additions and 0 deletions
|
@ -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:
|
||||||
|
|
Loading…
Reference in a new issue