From ee8edc8b90ecf8beea52842782429825f3521481 Mon Sep 17 00:00:00 2001 From: apetrynet Date: Fri, 4 Sep 2020 10:03:31 +0200 Subject: [PATCH] * Updated doc string to mention that parts of transition are encapsulated in tuples. --- .../opentimelineio/algorithms/track_algo.py | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/src/py-opentimelineio/opentimelineio/algorithms/track_algo.py b/src/py-opentimelineio/opentimelineio/algorithms/track_algo.py index d8e584fcc..b411a7150 100644 --- a/src/py-opentimelineio/opentimelineio/algorithms/track_algo.py +++ b/src/py-opentimelineio/opentimelineio/algorithms/track_algo.py @@ -96,10 +96,11 @@ def track_with_expanded_transitions(in_track): Clip1, T, Clip2 will return: - Clip1', Clip1_t, T, Clip2_t, Clip2' + Clip1', (Clip1_t, T, Clip2_t), Clip2' Where Clip1' is the part of Clip1 not in the transition, Clip1_t is the - part inside the transition and so on. + part inside the transition and so on. Please note that the items used in + a transition are encapsulated in `tuple`s """ result_track = []