From dac1e577e7d5374558d140460169084a8cf99817 Mon Sep 17 00:00:00 2001 From: Matthew Waters Date: Mon, 2 Feb 2015 21:07:48 +1100 Subject: [PATCH] glcolorconvert: use the correct caps feature for supported caps glcolorconvert currently only supports converting between GLMemory targets. --- gst-libs/gst/gl/gstglcolorconvert.h | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/gst-libs/gst/gl/gstglcolorconvert.h b/gst-libs/gst/gl/gstglcolorconvert.h index c7c9caba69..a6a5232e10 100644 --- 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);