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#GstGLFilterClassIn 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-textureinside 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