GNOME Bugzilla – Bug 673038
[pitivi] Broken/nonsensical playback with pitivi projects
Last modified: 2013-09-24 16:03:34 UTC
1. Get the GES version of pitivi (see http://wiki.pitivi.org/wiki/Building_with_GES for instructions, including a turn-key script for setting it up) 2. Get the "texture" sample project from http://jeff.ecchi.ca/public/sample-pitivi-projects/ (and hack the file paths in the .xptv file a little) 3. Load the project into pitivi, start playing 4. Notice the playhead going insane: http://youtu.be/bpa5aPmv0jM (the fun starts at ~30 seconds)
What we are currently doing in GES to handle gaps in a timeline is to add a "background" which is a GESTimelineTest with a G_MAXUINT priority and expandable. I am wondering if that couldn't cause this kind of misbehaviour? What should be done is properly detect gaps in each GESTrack and add a GESTrackXxxTest source in each gap, that resizes/is removed whenever it is needed.
Quick note to self: broken rendering is a separate issue than broken live playback.
commit f84c183f63a435184e9d030c4490f3e63dc15184 Author: Thibault Saunier <thibault.saunier@collabora.com> Date: Wed May 9 11:45:02 2012 -0400 track: Properly fill gaps API: GESCreateElementForGapFunc Virtual method type API: ges_track_set_create_element_for_gap_func