[gst-devel] how do queries get processed by a pipeline?
Daniel Lenski
dlenski at gmail.com
Sun Sep 30 06:01:39 CEST 2007
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
More information about the gstreamer-devel
mailing list