If a clip has an in-transition, it's impossible to set key frames at the...
Non-linear video editor targeted for home video editing.
Brought to you by:
epra
Proper solution:
Model redesign: clips have offset and length as actually used for producing video.
Track class is responsible for 'handing over' getNext... to a transition.
Then, Transition::getLeftClip and ::getRightClip no longer needed, since the track provides the actual clip.
This also reduces (theoretical) problems in which the artificial clips in getLeftClip and getRightClip result in different video/audio data than the original clips.
NOte: getPerceivedLeftPts only shows the pts position that is 'seen' in the timeline. However for an in-out-transition it's not just 'transition->getRight' but transition->getLength() that should be moved left to get the first frame that is actually used from the clip.