GstGLImageSink include

Nicolas Dufresne nicolas at ndufresne.ca
Tue May 22 16:37:56 UTC 2018


Le mardi 22 mai 2018 à 05:37 -0700, apap a écrit :
> I'm trying to replace the video-sink of playbin by a glimagesink, here is my
> code :
> 
> GstElement *play = gst_element_factory_make ("playbin", "play");
> GstElement *glimagesink = gst_element_factory_make ("glimagesink", NULL);
> g_object_set (GST_OBJECT (play), "video-sink", glimagesink, NULL);
> g_signal_connect (glimagesink, "client-draw", G_CALLBACK (ondraw), 0);
> 
>  I 've got strange values in my callback "ondraw" , what am I missing ?

Show us the signature at least, so we might be able to comment.


More information about the gstreamer-devel mailing list