Source Pad Query

classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|

Source Pad Query

HtGst

Hi

I am guessing that source pad cannot/should not be queried during NULL state, correct? If so, should a plugin check the pipeline state, inside _src_query callback, before proceeding with query processing?

Cheers,


_______________________________________________
gstreamer-devel mailing list
[hidden email]
https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel
Reply | Threaded
Open this post in threaded view
|

Re: Source Pad Query

Sebastian Dröge-3
On Mon, 2016-11-07 at 09:58 -0800, ht techdev wrote:
> Hi
> I am guessing that source pad cannot/should not be queried during
> NULL state, correct? If so, should a plugin check the pipeline state,
> inside _src_query callback, before proceeding with query processing?

That depends on the context. How and why would an element even want to
do a query in NULL state? Please give some more information about what
that element is, what it wants to do and what the bigger picture is.

That you want to do that most likely hints at a design problem in what
you're trying to do there.

--
Sebastian Dröge, Centricular Ltd · http://www.centricular.com
_______________________________________________
gstreamer-devel mailing list
[hidden email]
https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel

signature.asc (949 bytes) Download Attachment