GstMeta from GstGLFilter

Matthew Waters ystreet00 at gmail.com
Thu Mar 9 13:01:42 UTC 2017


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


-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 516 bytes
Desc: OpenPGP digital signature
URL: <https://lists.freedesktop.org/archives/gstreamer-devel/attachments/20170310/06fa5626/attachment.sig>


More information about the gstreamer-devel mailing list