From 70ac63a97cdcd313796f9f12e367b5bd694ecdde Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ole=20Andr=C3=A9=20Vadla=20Ravn=C3=A5s?= Date: Fri, 14 Apr 2017 13:58:21 +0200 Subject: [PATCH] nvenc: Update to the current gstreamer-gl API https://bugzilla.gnome.org/show_bug.cgi?id=781410 --- sys/nvenc/gstnvbaseenc.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/sys/nvenc/gstnvbaseenc.c b/sys/nvenc/gstnvbaseenc.c index 9c457ff7ee..4ec2426f37 100644 --- a/sys/nvenc/gstnvbaseenc.c +++ b/sys/nvenc/gstnvbaseenc.c @@ -458,8 +458,7 @@ gst_nv_base_enc_sink_query (GstVideoEncoder * enc, GstQuery * query) gboolean ret; ret = gst_gl_handle_context_query ((GstElement *) nvenc, query, - (GstGLDisplay **) & nvenc->display, - (GstGLContext **) & nvenc->other_context); + nvenc->display, NULL, nvenc->other_context); if (nvenc->display) gst_gl_display_filter_gl_api (GST_GL_DISPLAY (nvenc->display), SUPPORTED_GL_APIS);