summaryrefslogtreecommitdiff
path: root/gst/gaudieffects
diff options
context:
space:
mode:
authorSebastian Dröge <sebastian.droege@collabora.co.uk>2010-10-28 18:51:02 +0200
committerSebastian Dröge <sebastian.droege@collabora.co.uk>2010-10-28 18:52:07 +0200
commit4c48e791b3e9d36c9f8d8ca2060bc9c827ecfedd (patch)
tree16b3ff42f2bf10779e8d7a7bb2fff615d016f016 /gst/gaudieffects
parentcadfe13839574de5cadef578021319aa16f78b7c (diff)
gaudieffects: Include gstcontroller header and add the required CFLAGS
Diffstat (limited to 'gst/gaudieffects')
-rw-r--r--gst/gaudieffects/Makefile.am2
-rw-r--r--gst/gaudieffects/gstplugin.c4
2 files changed, 4 insertions, 2 deletions
diff --git a/gst/gaudieffects/Makefile.am b/gst/gaudieffects/Makefile.am
index a050fbdaf..92b8ce5f9 100644
--- a/gst/gaudieffects/Makefile.am
+++ b/gst/gaudieffects/Makefile.am
@@ -2,7 +2,7 @@ plugin_LTLIBRARIES = libgstgaudieffects.la
libgstgaudieffects_la_SOURCES = gstburn.c gstchromium.c gstdilate.c \
gstdodge.c gstexclusion.c gstgaussblur.c gstsolarize.c gstplugin.c
-libgstgaudieffects_la_CFLAGS = $(GST_PLUGINS_BASE_CFLAGS) $(GST_CFLAGS)
+libgstgaudieffects_la_CFLAGS = $(GST_PLUGINS_BASE_CFLAGS) $(GST_CONTROLLER_CFLAGS) $(GST_CFLAGS)
libgstgaudieffects_la_LIBADD = $(GST_PLUGINS_BASE_LIBS) -lgstvideo-@GST_MAJORMINOR@ $(GST_CONTROLLER_LIBS) $(GST_LIBS) $(LIBM)
libgstgaudieffects_la_LDFLAGS = $(GST_PLUGIN_LDFLAGS)
libgstgaudieffects_la_LIBTOOLFLAGS = --tag=disable-static
diff --git a/gst/gaudieffects/gstplugin.c b/gst/gaudieffects/gstplugin.c
index ea2c77b6b..143efb310 100644
--- a/gst/gaudieffects/gstplugin.c
+++ b/gst/gaudieffects/gstplugin.c
@@ -48,6 +48,7 @@
#endif
#include <gst/gst.h>
+#include <gst/controller/gstcontroller.h>
#include "gstplugin.h"
@@ -63,9 +64,10 @@
static gboolean
plugin_init (GstPlugin * plugin)
{
- gst_controller_init (NULL, NULL);
gboolean ret = TRUE;
+ gst_controller_init (NULL, NULL);
+
ret &= gst_burn_plugin_init (plugin);
ret &= gst_chromium_plugin_init (plugin);
ret &= gst_dilate_plugin_init (plugin);