diff options
author | Sebastian Dröge <sebastian.droege@collabora.co.uk> | 2009-02-05 17:00:30 +0100 |
---|---|---|
committer | Sebastian Dröge <sebastian.droege@collabora.co.uk> | 2009-02-05 17:52:38 +0100 |
commit | aba72fcce963656c24fb06e3c017b5b911395a38 (patch) | |
tree | bfc505dcbdec4e60c8bf996e268aa2f6868676e5 | |
parent | a0e06b965a3ef372652ae8c0e99babce6b83ff08 (diff) | |
download | gst-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
-rw-r--r-- | ext/assrender/Makefile.am | 4 | ||||
-rw-r--r-- | ext/assrender/gstassrender.c | 6 |
2 files changed, 6 insertions, 4 deletions
diff --git a/ext/assrender/Makefile.am b/ext/assrender/Makefile.am index 6b454ae7..44e63094 100644 --- a/ext/assrender/Makefile.am +++ b/ext/assrender/Makefile.am @@ -1,8 +1,8 @@ plugin_LTLIBRARIES = libgstassrender.la libgstassrender_la_SOURCES = gstassrender.c -libgstassrender_la_CFLAGS = $(GST_CFLAGS) $(ASSRENDER_CFLAGS) -libgstassrender_la_LIBADD = $(ASSRENDER_LIBS) $(GST_LIBS) +libgstassrender_la_CFLAGS = $(GST_CFLAGS) $(GST_PLUGINS_BASE_CFLAGS) $(ASSRENDER_CFLAGS) +libgstassrender_la_LIBADD = $(ASSRENDER_LIBS) $(GST_PLUGINS_BASE_LIBS) $(GST_LIBS) -lgstvideo-@GST_MAJORMINOR@ libgstassrender_la_LDFLAGS = $(GST_PLUGIN_LDFLAGS) libgstassrender_la_LIBTOOLFLAGS = --tag=disable-static 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 = |