[559/906] glmixer: pass the mixpad's display to the querying element
authorMatthew Waters <ystreet00@gmail.com>
Mon, 13 Aug 2012 16:05:13 +0000 (02:05 +1000)
committerTim-Philipp Müller <tim@centricular.com>
Sat, 9 Dec 2017 19:31:24 +0000 (19:31 +0000)
gst-libs/gst/gl/gstglmixer.c

index 6733edf..a106e41 100644 (file)
@@ -394,7 +394,7 @@ gst_gl_mixer_sink_query (GstCollectPads * pads, GstCollectData * data,
 
         if (ret) {
           gst_structure_set (structure, "gstgldisplay", G_TYPE_POINTER,
-              mix->display, NULL);
+              mixpad->display, NULL);
         } else {
           GST_ELEMENT_ERROR (mix, RESOURCE, NOT_FOUND,
               GST_GL_DISPLAY_ERR_MSG (mixpad->display), (NULL));