examples/testegl: update for libgstgl changes
authorMatthew Waters <matthew@centricular.com>
Wed, 18 Jan 2017 04:21:35 +0000 (15:21 +1100)
committerMatthew Waters <matthew@centricular.com>
Wed, 18 Jan 2017 04:23:41 +0000 (15:23 +1100)
examples/egl/testegl.c

index d4b46e4..afc78ea 100644 (file)
@@ -1059,8 +1059,8 @@ query_cb (GstPad * pad, GstPadProbeInfo * info, gpointer user_data)
     case GST_QUERY_CONTEXT:
     {
       if (gst_gl_handle_context_query (state->pipeline, query,
-              (GstGLDisplay **) & state->gst_display,
-              (GstGLContext **) & state->gl_context))
+              (GstGLDisplay *) state->gst_display, NULL,
+              (GstGLContext *) state->gl_context))
         return GST_PAD_PROBE_HANDLED;
       break;
     }