GstMeta in gl bin

Cyril Baletaud cyril.baletaud at gmail.com
Mon Mar 13 12:54:36 UTC 2017


Hi, here a simplified pipeline


GstApp ! queue ! tee ! queue ! glupload ! glcolorconvert ! myglfilter !
glimagesink
tee ! queue ! videoconvert ! jpegenc ! multifilesink

In GstApp, a custom GstMeta is attached with all GstBuffer.
In multifilesink, i can read the GstMeta attached to GstBuffer.
In myglfilter, in virtual function :

static gboolean
gst_gev_gloverlay_filter (GstGLFilter * filter, GstBuffer * inbuf,
GstBuffer * outbuf)
{
    GevInfosMeta *meta = gst_buffer_get_gev_infos_meta(inbuf);
    if (meta != 0) {
        g_print("Timestamp : %lu", meta->timestamp);
    }
    else {
        g_print("Timestamp : NULL\n");
    }
    gst_gl_filter_filter_texture(filter, inbuf, outbuf);
}

i can't read any custom Meta (output Timestamp : NULL)

What is wrong ?

Thanks
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/gstreamer-devel/attachments/20170313/71e5022b/attachment.html>


More information about the gstreamer-devel mailing list