added constants for easier handling or entered keys

This commit is contained in:
iLLiCiTiT 2020-02-06 10:50:51 +01:00
parent 8e86f6e37a
commit 4f862acfb8

View file

@ -37,6 +37,11 @@ TIMECODE = (
"%(color)s@%(opacity).1f:fontsize=%(size)d:fontfile='%(font)s'"
)
MISSING_KEY_VALUE = "N/A"
CURRENT_FRAME_KEY = "{current_frame}"
TIME_CODE_KEY = "{timecode}"
def _streams(source):
"""Reimplemented from otio burnins to be able use full path to ffprobe
:param str source: source media file