summaryrefslogtreecommitdiffstats
path: root/ext/assrender/gstassrender.c
diff options
context:
space:
mode:
authorSebastian Dröge <sebastian.droege@collabora.co.uk>2009-02-05 17:00:30 +0100
committerSebastian Dröge <sebastian.droege@collabora.co.uk>2009-02-05 17:52:38 +0100
commitaba72fcce963656c24fb06e3c017b5b911395a38 (patch)
treebfc505dcbdec4e60c8bf996e268aa2f6868676e5 /ext/assrender/gstassrender.c
parenta0e06b965a3ef372652ae8c0e99babce6b83ff08 (diff)
downloadgst-plugins-bad-aba72fcce963656c24fb06e3c017b5b911395a38.tar.gz
gst-plugins-bad-aba72fcce963656c24fb06e3c017b5b911395a38.tar.bz2
gst-plugins-bad-aba72fcce963656c24fb06e3c017b5b911395a38.zip
Use GST_VIDEO_CAPS_RGB for the template caps
Diffstat (limited to 'ext/assrender/gstassrender.c')
-rw-r--r--ext/assrender/gstassrender.c6
1 files changed, 4 insertions, 2 deletions
diff --git a/ext/assrender/gstassrender.c b/ext/assrender/gstassrender.c
index dc1feb54..d1fddaef 100644
--- a/ext/assrender/gstassrender.c
+++ b/ext/assrender/gstassrender.c
@@ -23,6 +23,8 @@
#include "gstassrender.h"
+#include <gst/video/video.h>
+
GST_DEBUG_CATEGORY_STATIC (gst_assrender_debug);
#define GST_CAT_DEFAULT gst_assrender_debug
@@ -42,14 +44,14 @@ enum
static GstStaticPadTemplate src_factory = GST_STATIC_PAD_TEMPLATE ("src",
GST_PAD_SRC,
GST_PAD_ALWAYS,
- GST_STATIC_CAPS ("video/x-raw-rgb, bpp=24")
+ GST_STATIC_CAPS (GST_VIDEO_CAPS_RGB)
);
static GstStaticPadTemplate video_sink_factory =
GST_STATIC_PAD_TEMPLATE ("video_sink",
GST_PAD_SINK,
GST_PAD_ALWAYS,
- GST_STATIC_CAPS ("video/x-raw-rgb, bpp=24")
+ GST_STATIC_CAPS (GST_VIDEO_CAPS_RGB)
);
static GstStaticPadTemplate text_sink_factory =