-
Notifications
You must be signed in to change notification settings - Fork 309
Closed
Labels
bugA problem, flaw, or broken functionality.A problem, flaw, or broken functionality.
Milestone
Description
Bug Report
Passing null to Timeline::set_tracks() leads the C++ state in a bad way: there's an implicit assumption that _tracks is always a valid pointer. If null is passed, we should create it like the constructor and just create a new empty stack, exactly as the constructor does.
To Reproduce
In Python:
import opentimelineio as otio
t = otio.schema.Timeline()
t.tracks = None
t.audio_tracks() # crashes
Metadata
Metadata
Assignees
Labels
bugA problem, flaw, or broken functionality.A problem, flaw, or broken functionality.