Quantcast

GstMeta from GstGLFilter

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

GstMeta from GstGLFilter

Cyril Baletaud
Hi all,

I need to draw on gl texture in a pipeline.
I'm reading for GstGLfilter subclassing, but i need to access GstMeta from GstBuffer.
How can i access GstBuffer from GstGLFilter ?

Thanks

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

Re: GstMeta from GstGLFilter

Matthew Waters
You can get at the GstBuffer using the filter virtual method of the
GstGLFilterClass.

See
https://gstreamer.freedesktop.org/data/doc/gstreamer/head/gst-plugins-bad-libs/html/GstGLFilter.html#GstGLFilterClass

In order to call the filter_texture virtual method correctly, you should
call
https://gstreamer.freedesktop.org/data/doc/gstreamer/head/gst-plugins-bad-libs/html/GstGLFilter.html#gst-gl-filter-filter-texture
inside your implementation.

Cheers
-Matt


On 09/03/17 19:35, Cyril Baletaud wrote:
> Hi all,
>
> I need to draw on gl texture in a pipeline.
> I'm reading for GstGLfilter subclassing, but i need to access GstMeta
> from GstBuffer.
> How can i access GstBuffer from GstGLFilter ?
>
> Thanks



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

signature.asc (527 bytes) Download Attachment
Loading...