summaryrefslogtreecommitdiff
path: root/gst/coloreffects/gstplugin.c
diff options
context:
space:
mode:
authorSebastian Dröge <sebastian.droege@collabora.co.uk>2010-10-06 11:55:34 +0200
committerSebastian Dröge <sebastian.droege@collabora.co.uk>2010-10-06 11:57:12 +0200
commitfa2a4af5bb3fd3c7874c9ed598e215348e6f0035 (patch)
tree39bd75a19b00b55a7f4e6d9ff1a5f93dd3a14ad7 /gst/coloreffects/gstplugin.c
parente0cb15cea0c07dc7d78f6c73114ccbfc5770ee72 (diff)
downloadgstreamer-plugins-bad-fa2a4af5bb3fd3c7874c9ed598e215348e6f0035.tar.gz
chromahold: Add chromahold color effect
This effect converts all colors except a single one to grey. The color is selected by an RGB triple and a tolerance for the color matching in hue degree can be specified.
Diffstat (limited to 'gst/coloreffects/gstplugin.c')
-rw-r--r--gst/coloreffects/gstplugin.c6
1 files changed, 2 insertions, 4 deletions
diff --git a/gst/coloreffects/gstplugin.c b/gst/coloreffects/gstplugin.c
index aea396ac9..3e5344454 100644
--- a/gst/coloreffects/gstplugin.c
+++ b/gst/coloreffects/gstplugin.c
@@ -24,10 +24,7 @@
#include <gst/gst.h>
#include "gstcoloreffects.h"
-
-#ifndef PACKAGE
-#define PACKAGE "coloreffects"
-#endif
+#include "gstchromahold.h"
struct _elements_entry
{
@@ -37,6 +34,7 @@ struct _elements_entry
static const struct _elements_entry _elements[] = {
{"coloreffects", gst_color_effects_get_type},
+ {"chromahold", gst_chroma_hold_get_type},
{NULL, 0},
};