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
parent abb55f2453
commit ed7d7418c2

View file

@ -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);