GstMeta in gl bin

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

GstMeta in gl bin

Cyril Baletaud
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

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