mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-01-31 19:42:26 +00:00
nvenc: Update to the current gstreamer-gl API
https://bugzilla.gnome.org/show_bug.cgi?id=781410
This commit is contained in:
parent
b721a47a50
commit
70ac63a97c
1 changed files with 1 additions and 2 deletions
|
@ -458,8 +458,7 @@ gst_nv_base_enc_sink_query (GstVideoEncoder * enc, GstQuery * query)
|
||||||
gboolean ret;
|
gboolean ret;
|
||||||
|
|
||||||
ret = gst_gl_handle_context_query ((GstElement *) nvenc, query,
|
ret = gst_gl_handle_context_query ((GstElement *) nvenc, query,
|
||||||
(GstGLDisplay **) & nvenc->display,
|
nvenc->display, NULL, nvenc->other_context);
|
||||||
(GstGLContext **) & nvenc->other_context);
|
|
||||||
if (nvenc->display)
|
if (nvenc->display)
|
||||||
gst_gl_display_filter_gl_api (GST_GL_DISPLAY (nvenc->display),
|
gst_gl_display_filter_gl_api (GST_GL_DISPLAY (nvenc->display),
|
||||||
SUPPORTED_GL_APIS);
|
SUPPORTED_GL_APIS);
|
||||||
|
|
Loading…
Reference in a new issue