After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 626379 - Change GnlObject::active property change the current position of 0:00:00.166666667 in the pipeline
Change GnlObject::active property change the current position of 0:00:00.166...
Status: RESOLVED FIXED
Product: GStreamer
Classification: Platform
Component: gst-editing-services
git master
Other Linux
: Normal normal
: git master
Assigned To: GStreamer Maintainers
GStreamer Maintainers
Depends on:
Blocks:
 
 
Reported: 2010-08-08 18:23 UTC by Thibault Saunier
Modified: 2014-12-15 16:24 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description Thibault Saunier 2010-08-08 18:23:01 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.
Comment 1 Thibault Saunier 2010-08-08 19:31:05 UTC
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.
Comment 2 Thibault Saunier 2014-12-15 16:24:31 UTC
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.