[Cogl] [PATCH 10/13] cogl-gst: video-sink: use caps feature define rather that raw string
Lionel Landwerlin
llandwerlin at gmail.com
Mon Dec 9 03:17:57 PST 2013
---
cogl-gst/cogl-gst-video-sink.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/cogl-gst/cogl-gst-video-sink.c b/cogl-gst/cogl-gst-video-sink.c
index 07fb475..ad7f76b 100644
--- a/cogl-gst/cogl-gst-video-sink.c
+++ b/cogl-gst/cogl-gst-video-sink.c
@@ -73,7 +73,7 @@
(G_PARAM_READABLE | G_PARAM_WRITABLE | COGL_GST_PARAM_STATIC)
static const char cogl_gst_video_sink_caps_str[] =
- GST_VIDEO_CAPS_MAKE_WITH_FEATURES("memory:SystemMemory", BASE_SINK_CAPS)
+ GST_VIDEO_CAPS_MAKE_WITH_FEATURES(GST_CAPS_FEATURE_MEMORY_SYSTEM_MEMORY, BASE_SINK_CAPS)
";" GST_VIDEO_CAPS_MAKE_WITH_FEATURES(GST_CAPS_FEATURE_META_GST_VIDEO_GL_TEXTURE_UPLOAD_META, "RGBA");
static GstStaticPadTemplate sinktemplate_all =
--
1.8.5
More information about the Cogl
mailing list