From de25a454ced4b62897e66ab9999b644705ea826e 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 6733edff5c..a106e4152f 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));