projects
/
platform
/
upstream
/
gstreamer.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
119955b
)
gstglupload: relax EGL context check
author
Julien Isorce
<j.isorce@samsung.com>
Thu, 1 Dec 2016 09:24:18 +0000
(09:24 +0000)
committer
Julien Isorce
<j.isorce@samsung.com>
Thu, 1 Dec 2016 10:50:10 +0000
(10:50 +0000)
Check for GST_GL_PLATFORM_EGL enum instead of type GstGLContextEGL.
https://bugzilla.gnome.org/show_bug.cgi?id=774518
gst-libs/gst/gl/gstglupload.c
patch
|
blob
|
history
diff --git
a/gst-libs/gst/gl/gstglupload.c
b/gst-libs/gst/gl/gstglupload.c
index
e69ae2f
..
06b4055
100644
(file)
--- a/
gst-libs/gst/gl/gstglupload.c
+++ b/
gst-libs/gst/gl/gstglupload.c
@@
-579,7
+579,8
@@
_dma_buf_upload_accept (gpointer impl, GstBuffer * buffer, GstCaps * in_caps,
meta = gst_buffer_get_video_meta (buffer);
/* dmabuf upload is only supported with EGL contexts. */
- if (!GST_IS_GL_CONTEXT_EGL (dmabuf->upload->context))
+ if (gst_gl_context_get_gl_platform (dmabuf->upload->context) !=
+ GST_GL_PLATFORM_EGL)
return FALSE;
if (!gst_gl_context_check_feature (dmabuf->upload->context,