From 23ec206053c86e4505866e22f6ccad52604a819e Mon Sep 17 00:00:00 2001 From: Matthew Waters Date: Tue, 14 Aug 2012 02:05:13 +1000 Subject: [PATCH] [559/906] glmixer: pass the mixpad's display to the querying element --- gst-libs/gst/gl/gstglmixer.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gst-libs/gst/gl/gstglmixer.c b/gst-libs/gst/gl/gstglmixer.c index 6733edf..a106e41 100644 --- a/gst-libs/gst/gl/gstglmixer.c +++ b/gst-libs/gst/gl/gstglmixer.c @@ -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)); -- 2.7.4