GNOME Bugzilla – Bug 626379
Change GnlObject::active property change the current position of 0:00:00.166666667 in the pipeline
Last modified: 2014-12-15 16:24:42 UTC
In the effect branch of pitivi the fact of doing: activated = track_effect.gnl_object.get_property("active") track_effect.gnl_object.set_property("active", not activated) make the video seeking a few frames in the previewer. In the attached file, you can see lines 15353, 15617, 15921, 16185, 16194, 16489, 16753, 17057... that the call of gnl_media_to_object_time always return a time 0:00:00.166666667 inferior than the call of update_pipeline which is done right after changing the GnlObject::active property. I guess this is due to gnonlin since I actually don't do anything else than activating/inactivating the effect when it happens. This also happens when adding an effect to the timeline actually but I didn't figure out how to show it in the log file.
You can find the log here: http://dl.dropbox.com/u/2804070/apply_effect_change_current_position_in_pipeline.log it is actually to big to be uploaded here.
commit 6367c96d7db1d327c5e1569f62f6c9904b6f2b4b Author: Thibault Saunier <tsaunier@gnome.org> Date: Tue Nov 4 15:38:05 2014 +0100 nlecomposition: Add a 'query-position' signal In order to get the precise position of the pipeline, the only way is to ask the 'application' to query the pipeline position and use it.