[gst-devel] how do queries get processed by a pipeline?

Julien Moutte julien at moutte.net
Sun Sep 30 23:17:14 CEST 2007

That's correct

Best regards


On Sep 30, 2007, at 6:01 AM, "Daniel Lenski" <dlenski at gmail.com> wrote:

> On 9/29/07, Julien Moutte <julien at moutte.net> wrote:
>> Queries are sent from sinks in upstream direction. Every element  
>> can try
>> to handle the query. Usually an audio decoder will try to handle the
>> duration query.
>> To handle the duration query the audio decoder will most likely do a
>> duration query in bytes upstream, get the result, convert it using
>> bitrate of average bitrate for vbr and then return the duration in  
>> time
>> unit to your query.
>> Does that reply to your question ?
> Thanks Julien!  That does clear it up.  So, if an element receives a
> query and needs more information from upstream, it can send that query
> to its own sink-pad and then do its own processing on the result that
> comes back.  Is that about right?
> Dan
> --- 
> ----------------------------------------------------------------------
> This SF.net email is sponsored by: Microsoft
> Defy all challenges. Microsoft(R) Visual Studio 2005.
> http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
> _______________________________________________
> 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