Merged in feature/better_burnin_error (pull request #515)

feature/better burnin error

Approved-by: Milan Kolar <milan@orbi.tools>
This commit is contained in:
Jakub Trllo 2020-02-27 16:55:07 +00:00 committed by Milan Kolar
commit d9afc17576

View file

@ -418,6 +418,13 @@ def burnins_from_data(
if not value:
continue
if isinstance(value, (dict, list, tuple)):
raise TypeError((
"Expected string or number type."
" Got: {} - \"{}\""
" (Make sure you have new burnin presets)."
).format(str(type(value)), str(value)))
has_timecode = TIME_CODE_KEY in value
align = None