GNOME Bugzilla – Bug 315457
[adder] reports time position improperly
Last modified: 2005-10-08 21:33:21 UTC
when querying an adder element, it improperly reports the time position, as it dispatches the question to the elements connected to its sink pads. but naturally, as these elements are to be added together by adder, neither will produce the current time position properly. therefore the adder needs to keep track of the position itself.
Created attachment 51921 [details] [review] a patch solving the issue this patch adds a custom query function to the source pad of the adder element, returning the correct time position.
Patch looks good
Thanks, committed to 0.8 branch: 2005-10-08 Akos Maroy <darkeye at tyrell dot hu> Reviewed by: Tim-Philipp Muller <tim at centricular dot net> * gst/adder/gstadder.c: (gst_adder_init), (gst_adder_query): Add query function to soure pad so adder reports the correct time/sample position when queried. (#315457) Cheers -Tim