glmixer:fix incorrect parameter passed to handle_set_context
authorWang Xin-yu (王昕宇) <comicfans44@gmail.com>
Wed, 29 Oct 2014 00:27:57 +0000 (08:27 +0800)
committerTim-Philipp Müller <tim@centricular.com>
Sat, 9 Dec 2017 19:31:48 +0000 (19:31 +0000)
ext/gl/gstglmixer.c

index a80d2b7..1c6cfe9 100644 (file)
@@ -552,7 +552,8 @@ gst_gl_mixer_set_context (GstElement * element, GstContext * context)
 {
   GstGLMixer *mix = GST_GL_MIXER (element);
 
-  gst_gl_handle_set_context (element, context, &mix->display, &mix->context);
+  gst_gl_handle_set_context (element, context, &mix->display,
+      &mix->other_context);
 }
 
 static gboolean