diff options
author | Ole André Vadla Ravnås <oleavr@gmail.com> | 2017-04-14 13:58:21 +0200 |
---|---|---|
committer | Tim-Philipp Müller <tim@centricular.com> | 2017-04-19 11:51:55 +0100 |
commit | 70ac63a97cdcd313796f9f12e367b5bd694ecdde (patch) | |
tree | 6a6816d192c1d2f181eab9b8650fdfeda85b5806 | |
parent | b721a47a50868e32e762cf34639b7ee8dc591fbf (diff) | |
download | gstreamer-plugins-bad-70ac63a97cdcd313796f9f12e367b5bd694ecdde.tar.gz |
nvenc: Update to the current gstreamer-gl API
https://bugzilla.gnome.org/show_bug.cgi?id=781410
-rw-r--r-- | sys/nvenc/gstnvbaseenc.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/sys/nvenc/gstnvbaseenc.c b/sys/nvenc/gstnvbaseenc.c index 9c457ff7e..4ec2426f3 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); |