[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
parent 729115c515
commit de25a454ce

View 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));