[559/906] glmixer: pass the mixpad's display to the querying element

This commit is contained in:
Matthew Waters 2012-08-14 02:05:13 +10:00 committed by Tim-Philipp Müller
parent 9761f2cfa1
commit 23ec206053

View file

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