gst-element-maker: fix -template-video caps string
authorTim-Philipp Müller <tim.muller@collabora.co.uk>
Sat, 17 Mar 2012 16:09:31 +0000 (16:09 +0000)
committerTim-Philipp Müller <tim.muller@collabora.co.uk>
Sat, 17 Mar 2012 16:09:31 +0000 (16:09 +0000)
Don't forget separator.

tools/element-templates/sinkpad-template-video
tools/element-templates/srcpad-template-video

index ffdac843a1fff76bfd9a0685912a383b1da80f6d..b317c6fd79f2dac90088906470dde469ea01da57 100644 (file)
@@ -5,16 +5,16 @@
 % pad-template
 /* FIXME: add/remove formats you can handle */
 #define VIDEO_SINK_CAPS \
 % pad-template
 /* FIXME: add/remove formats you can handle */
 #define VIDEO_SINK_CAPS \
-    GST_VIDEO_CAPS_RGBA \
-    GST_VIDEO_CAPS_ARGB \
-    GST_VIDEO_CAPS_BGRA \
-    GST_VIDEO_CAPS_ABGR \
-    GST_VIDEO_CAPS_RGBx \
-    GST_VIDEO_CAPS_xRGB \
-    GST_VIDEO_CAPS_BGRx \
-    GST_VIDEO_CAPS_xBGR \
-    GST_VIDEO_CAPS_RGB \
-    GST_VIDEO_CAPS_BGR \
+    GST_VIDEO_CAPS_RGBA "; " \
+    GST_VIDEO_CAPS_ARGB "; " \
+    GST_VIDEO_CAPS_BGRA "; " \
+    GST_VIDEO_CAPS_ABGR "; " \
+    GST_VIDEO_CAPS_RGBx "; " \
+    GST_VIDEO_CAPS_xRGB "; " \
+    GST_VIDEO_CAPS_BGRx "; " \
+    GST_VIDEO_CAPS_xBGR "; " \
+    GST_VIDEO_CAPS_RGB  "; " \
+    GST_VIDEO_CAPS_BGR  "; " \
     GST_VIDEO_CAPS_YUV("{ AYUV }")
 
 static GstStaticPadTemplate gst_replace_sink_template =
     GST_VIDEO_CAPS_YUV("{ AYUV }")
 
 static GstStaticPadTemplate gst_replace_sink_template =
index bfdc931c5c86eb3551913f2103eefe01d09099fe..4f39320868683da3a0c717ae27b2d9252cc2452f 100644 (file)
@@ -5,16 +5,16 @@
 % pad-template
 /* FIXME: add/remove formats you can handle */
 #define VIDEO_SRC_CAPS \
 % pad-template
 /* FIXME: add/remove formats you can handle */
 #define VIDEO_SRC_CAPS \
-    GST_VIDEO_CAPS_RGBA \
-    GST_VIDEO_CAPS_ARGB \
-    GST_VIDEO_CAPS_BGRA \
-    GST_VIDEO_CAPS_ABGR \
-    GST_VIDEO_CAPS_RGBx \
-    GST_VIDEO_CAPS_xRGB \
-    GST_VIDEO_CAPS_BGRx \
-    GST_VIDEO_CAPS_xBGR \
-    GST_VIDEO_CAPS_RGB \
-    GST_VIDEO_CAPS_BGR \
+    GST_VIDEO_CAPS_RGBA "; " \
+    GST_VIDEO_CAPS_ARGB "; " \
+    GST_VIDEO_CAPS_BGRA "; " \
+    GST_VIDEO_CAPS_ABGR "; " \
+    GST_VIDEO_CAPS_RGBx "; " \
+    GST_VIDEO_CAPS_xRGB "; " \
+    GST_VIDEO_CAPS_BGRx "; " \
+    GST_VIDEO_CAPS_xBGR "; " \
+    GST_VIDEO_CAPS_RGB  "; " \
+    GST_VIDEO_CAPS_BGR  "; " \
     GST_VIDEO_CAPS_YUV("{ AYUV }")
 
 static GstStaticPadTemplate gst_replace_src_template =
     GST_VIDEO_CAPS_YUV("{ AYUV }")
 
 static GstStaticPadTemplate gst_replace_src_template =