Pointer to Pipeline from Plugin

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

Pointer to Pipeline from Plugin

HtGst

Hi

Got a decoder plugin, of base type GstVideoDecoder, and am wondering if it is possible to get a reference to its pipeline. (Something similar to GST_ELEMENT_PARENT, but for decoder base class.)

Cheers,


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

Re: Pointer to Pipeline from Plugin

Sebastian Dröge-3
On Sat, 2016-11-19 at 20:13 -0800, ht techdev wrote:
> Hi
> Got a decoder plugin, of base type GstVideoDecoder, and am wondering
> if it is possible to get a reference to its pipeline. (Something
> similar to GST_ELEMENT_PARENT, but for decoder base class.)

GstVideoDecoder is a subclass of GstElement, so all API that is usable
on GstElement is also usable on GstVideoDecoder.

--
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 (981 bytes) Download Attachment