GNOME Bugzilla – Bug 655204
bad interaction between queue and adder
Last modified: 2011-08-11 09:47:47 UTC
Created attachment 192556 [details] example that demos bad behaviour Compile and run the self contained example (gcc commandline at the top of the source code). One would expect this to play a smooth seamless loop. But it does not, after a while it usually "gets into rhythm". At the top of the source are a few defines. If you comment out the "queue ! adder" variant and try the others it works as expected. I am looking into this for quite some time now and some external input/inspiration would be appreciated. Probably something related to queue and events.
Created attachment 192581 [details] svg image showing whats happening in the pipleine The latest version of the test-case is available at: http://buzztard.svn.sourceforge.net/viewvc/buzztard/trunk/buzztard/design/gst/loop2.c?revision=3494&view=markup
Comment on attachment 192581 [details] svg image showing whats happening in the pipleine The 1st graph is an overview and the two charts below are closeups. The weird thing is the huge gap between the seek from pulse to adder @ ~0.0526 (1st closeup) and the adder to queue @ ~0.5155 (2nd closeup). Also the newsegment events are happening in a weired order.
Created attachment 192583 [details] gnuplotscript used together with tracelib
Created attachment 192626 [details] [review] rework pending event handling This basically defers sending the newsegment event from adder downstream until we got the first newsegment event from upstream.
videomixer and videomixer2 need a simillar change
liveadder does not seem to have the issue