[gst-devel] gst_element_query_position() answered by multiple elements

Edward Hervey bilboed at gmail.com
Wed Feb 18 07:50:49 CET 2009


Hi,

  When querying duration/position on a pipeline (or a bin), the query
will be sent to all sink elements, and the MAXIMUM value will be
returned. (gstreamer/gst/gstbin.c:3156).

   Edward

On Tue, 2009-02-17 at 16:10 -0800, Karthik V wrote:
> I have a case where gst_element_query_position() call to the pipeline
> is answered by more than one element (in my case, the video and audio
> sinks). In this case, how does the 
> gstreamer framework decide which element to pick? Or does it do some
> kindof averaging? From the result, it looked like it chose the audio
> sink's result, but I need to understand the 
> logic behind this.
> 
> 
> - Karthik
> ------------------------------------------------------------------------------
> Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco, CA
> -OSBC tackles the biggest issue in open source: Open Sourcing the Enterprise
> -Strategies to boost innovation and cut costs with open source participation
> -Receive a $600 discount off the registration fee with the source code: SFAD
> http://p.sf.net/sfu/XcvMzF8H
> _______________________________________________ gstreamer-devel mailing list gstreamer-devel at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/gstreamer-devel





More information about the gstreamer-devel mailing list