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:
5722652
)
glcolorconvert: use the correct caps feature for supported caps
author
Matthew Waters
<matthew@centricular.com>
Mon, 2 Feb 2015 10:07:48 +0000
(21:07 +1100)
committer
Tim-Philipp Müller
<tim@centricular.com>
Sat, 9 Dec 2017 19:31:54 +0000
(19:31 +0000)
glcolorconvert currently only supports converting between GLMemory
targets.
gst-libs/gst/gl/gstglcolorconvert.h
patch
|
blob
|
history
diff --git
a/gst-libs/gst/gl/gstglcolorconvert.h
b/gst-libs/gst/gl/gstglcolorconvert.h
index
c7c9cab
..
a6a5232
100644
(file)
--- a/
gst-libs/gst/gl/gstglcolorconvert.h
+++ b/
gst-libs/gst/gl/gstglcolorconvert.h
@@
-93,7
+93,9
@@
struct _GstGLColorConvertClass
*
* The currently supported #GstCaps that can be converted
*/
-#define GST_GL_COLOR_CONVERT_VIDEO_CAPS GST_VIDEO_CAPS_MAKE (GST_GL_COLOR_CONVERT_FORMATS)
+#define GST_GL_COLOR_CONVERT_VIDEO_CAPS \
+ GST_VIDEO_CAPS_MAKE_WITH_FEATURES (GST_CAPS_FEATURE_MEMORY_GL_MEMORY, \
+ GST_GL_COLOR_CONVERT_FORMATS)
GstGLColorConvert * gst_gl_color_convert_new (GstGLContext * context);