projects
/
platform
/
upstream
/
gst-plugins-bad.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
b721a47
)
nvenc: Update to the current gstreamer-gl API
author
Ole André Vadla Ravnås
<oleavr@gmail.com>
Fri, 14 Apr 2017 11:58:21 +0000
(13:58 +0200)
committer
Tim-Philipp Müller
<tim@centricular.com>
Wed, 19 Apr 2017 10:51:55 +0000
(11:51 +0100)
https://bugzilla.gnome.org/show_bug.cgi?id=781410
sys/nvenc/gstnvbaseenc.c
patch
|
blob
|
history
diff --git
a/sys/nvenc/gstnvbaseenc.c
b/sys/nvenc/gstnvbaseenc.c
index
9c457ff
..
4ec2426
100644
(file)
--- 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);