When is it earliest possible to call gst_pad_add_probe on element?

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

When is it earliest possible to call gst_pad_add_probe on element?

Maurer, Marie

Hi,

 

when is it earliest possible to call gst_pad_add_probe on an element? Directly after element creation?

When the element is in the pipeline? Or do I need to wait till elements are linked?

 

Best regards,

 

Marie

 


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

Re: When is it earliest possible to call gst_pad_add_probe on element?

Sebastian Dröge-3
On Thu, 2018-12-20 at 16:36 +0000, Maurer, Marie wrote:
> Hi,
>  
> when is it earliest possible to call gst_pad_add_probe on an element?
> Directly after element creation?
> When the element is in the pipeline? Or do I need to wait till
> elements are linked?

At any time when you can get a reference to the pad where you want to
add the probe to.

--
Sebastian Dröge, Centricular Ltd · https://www.centricular.com


_______________________________________________
gstreamer-devel mailing list
[hidden email]
https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel

signature.asc (981 bytes) Download Attachment