glcolorconvert: use the correct caps feature for supported caps

glcolorconvert currently only supports converting between GLMemory
targets.
This commit is contained in:
Matthew Waters 2015-02-02 21:07:48 +11:00 committed by Tim-Philipp Müller
parent 572265206c
commit dac1e577e7

View file

@ -93,7 +93,9 @@ struct _GstGLColorConvertClass
* *
* The currently supported #GstCaps that can be converted * 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); GstGLColorConvert * gst_gl_color_convert_new (GstGLContext * context);