commit


Description:

public bool commit ()

Commit all the pending changes of the clips contained in the timeline.

When changes happen in a timeline, they are not immediately executed internally, in a way that effects the output data of the timeline. You should call this method when you are done with a set of changes and you want them to be executed.

Any pending changes will be executed in the backend. The commited signal will be emitted once this has completed. You should not try to change the state of the timeline, seek it or add tracks to it before receiving this signal. You can use commit_sync if you do not want to perform other tasks in the mean time.

Note that all the pending changes will automatically be executed when the timeline goes from READY to PAUSED, which is usually triggered by a corresponding state changes in a containing Pipeline.

Parameters:

this

A Timeline

Returns:

true if pending changes were committed, or false if nothing needed to be committed.