mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-12-22 00:06:36 +00:00
glcolorconvert: use the correct caps feature for supported caps
glcolorconvert currently only supports converting between GLMemory targets.
This commit is contained in:
parent
572265206c
commit
dac1e577e7
1 changed files with 3 additions and 1 deletions
|
@ -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);
|
||||
|
||||
|
|
Loading…
Reference in a new issue