gst-element-maker: fix -template-video caps string
[platform/upstream/gstreamer.git] / tools / element-templates / srcpad-template-video
1 /* vim: set filetype=c: */
2
3 % instance-members
4 % prototypes
5 % pad-template
6 /* FIXME: add/remove formats you can handle */
7 #define VIDEO_SRC_CAPS \
8     GST_VIDEO_CAPS_RGBA "; " \
9     GST_VIDEO_CAPS_ARGB "; " \
10     GST_VIDEO_CAPS_BGRA "; " \
11     GST_VIDEO_CAPS_ABGR "; " \
12     GST_VIDEO_CAPS_RGBx "; " \
13     GST_VIDEO_CAPS_xRGB "; " \
14     GST_VIDEO_CAPS_BGRx "; " \
15     GST_VIDEO_CAPS_xBGR "; " \
16     GST_VIDEO_CAPS_RGB  "; " \
17     GST_VIDEO_CAPS_BGR  "; " \
18     GST_VIDEO_CAPS_YUV("{ AYUV }")
19
20 static GstStaticPadTemplate gst_replace_src_template =
21 GST_STATIC_PAD_TEMPLATE ("src",
22     GST_PAD_SRC,
23     GST_PAD_ALWAYS,
24     GST_STATIC_CAPS (VIDEO_SRC_CAPS)
25     );
26
27 % base-init
28   gst_element_class_add_static_pad_template (element_class,
29       &gst_replace_src_template);
30 % instance-init
31 % methods
32 % end
33