diff options
Diffstat (limited to 'ext')
-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 = |