diff options
author | Luis de Bethencourt <luis.bg@samsung.com> | 2015-04-22 13:55:06 +0100 |
---|---|---|
committer | Luis de Bethencourt <luis.bg@samsung.com> | 2015-04-22 14:06:53 +0100 |
commit | 2fbbdb552967b87156eab8fa194bc83cfc6ba134 (patch) | |
tree | 1347b9cde5ccdccbce97feafb9791b709719d2e0 /gst/gaudieffects | |
parent | 7e3cd63f870fc3be92553f25ca685413e8fc20c3 (diff) | |
download | gstreamer-plugins-bad-2fbbdb552967b87156eab8fa194bc83cfc6ba134.tar.gz |
gaudi: remove unused property
Diffstat (limited to 'gst/gaudieffects')
-rw-r--r-- | gst/gaudieffects/gstburn.c | 12 | ||||
-rw-r--r-- | gst/gaudieffects/gstburn.h | 1 | ||||
-rw-r--r-- | gst/gaudieffects/gstchromium.c | 15 | ||||
-rw-r--r-- | gst/gaudieffects/gstchromium.h | 1 | ||||
-rw-r--r-- | gst/gaudieffects/gstdilate.c | 12 | ||||
-rw-r--r-- | gst/gaudieffects/gstdilate.h | 1 | ||||
-rw-r--r-- | gst/gaudieffects/gstdodge.c | 18 | ||||
-rw-r--r-- | gst/gaudieffects/gstdodge.h | 3 | ||||
-rw-r--r-- | gst/gaudieffects/gstexclusion.c | 12 | ||||
-rw-r--r-- | gst/gaudieffects/gstexclusion.h | 1 | ||||
-rw-r--r-- | gst/gaudieffects/gstsolarize.c | 12 | ||||
-rw-r--r-- | gst/gaudieffects/gstsolarize.h | 1 |
12 files changed, 1 insertions, 88 deletions
diff --git a/gst/gaudieffects/gstburn.c b/gst/gaudieffects/gstburn.c index 940fdbbda..c82c8af90 100644 --- a/gst/gaudieffects/gstburn.c +++ b/gst/gaudieffects/gstburn.c @@ -91,7 +91,6 @@ enum { PROP_0 = 0, PROP_ADJUSTMENT, - PROP_SILENT }; /* Initializations */ @@ -153,10 +152,6 @@ gst_burn_class_init (GstBurnClass * klass) "Adjustment parameter", 0, 256, DEFAULT_ADJUSTMENT, G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS | GST_PARAM_CONTROLLABLE)); - g_object_class_install_property (gobject_class, PROP_SILENT, - g_param_spec_boolean ("silent", "Silent", "Produce verbose output ?", - FALSE, G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS)); - vfilter_class->transform_frame = GST_DEBUG_FUNCPTR (gst_burn_transform_frame); } @@ -169,7 +164,6 @@ static void gst_burn_init (GstBurn * filter) { filter->adjustment = DEFAULT_ADJUSTMENT; - filter->silent = FALSE; } static void @@ -179,9 +173,6 @@ gst_burn_set_property (GObject * object, guint prop_id, GstBurn *filter = GST_BURN (object); switch (prop_id) { - case PROP_SILENT: - filter->silent = g_value_get_boolean (value); - break; case PROP_ADJUSTMENT: filter->adjustment = g_value_get_uint (value); break; @@ -199,9 +190,6 @@ gst_burn_get_property (GObject * object, guint prop_id, GST_OBJECT_LOCK (filter); switch (prop_id) { - case PROP_SILENT: - g_value_set_boolean (value, filter->silent); - break; case PROP_ADJUSTMENT: g_value_set_uint (value, filter->adjustment); break; diff --git a/gst/gaudieffects/gstburn.h b/gst/gaudieffects/gstburn.h index 559f034f1..5f563f82c 100644 --- a/gst/gaudieffects/gstburn.h +++ b/gst/gaudieffects/gstburn.h @@ -73,7 +73,6 @@ struct _GstBurn /* < private > */ gint adjustment; - gboolean silent; }; struct _GstBurnClass diff --git a/gst/gaudieffects/gstchromium.c b/gst/gaudieffects/gstchromium.c index 2fbd62210..8daca3a8e 100644 --- a/gst/gaudieffects/gstchromium.c +++ b/gst/gaudieffects/gstchromium.c @@ -1,6 +1,6 @@ /* * GStreamer - * Copyright (C) <2010-2012> Luis de Bethencourt <luis@debethencourt.com> + * Copyright (C) <2010> Luis de Bethencourt <luis@debethencourt.com> * * Chromium - burning chrome video effect. * Based on Pete Warden's FreeFrame plugin with the same name. @@ -90,7 +90,6 @@ enum PROP_0 = 0, PROP_EDGE_A, PROP_EDGE_B, - PROP_SILENT }; /* Initializations */ @@ -172,10 +171,6 @@ gst_chromium_class_init (GstChromiumClass * klass) "Second edge parameter", 0, 256, DEFAULT_EDGE_B, G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS | GST_PARAM_CONTROLLABLE)); - g_object_class_install_property (gobject_class, PROP_SILENT, - g_param_spec_boolean ("silent", "Silent", "Produce verbose output ?", - FALSE, G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS)); - vfilter_class->transform_frame = GST_DEBUG_FUNCPTR (gst_chromium_transform_frame); } @@ -190,7 +185,6 @@ gst_chromium_init (GstChromium * filter) { filter->edge_a = DEFAULT_EDGE_A; filter->edge_b = DEFAULT_EDGE_B; - filter->silent = FALSE; setup_cos_table (); } @@ -202,9 +196,6 @@ gst_chromium_set_property (GObject * object, guint prop_id, GstChromium *filter = GST_CHROMIUM (object); switch (prop_id) { - case PROP_SILENT: - filter->silent = g_value_get_boolean (value); - break; case PROP_EDGE_A: filter->edge_a = g_value_get_uint (value); break; @@ -225,9 +216,6 @@ gst_chromium_get_property (GObject * object, guint prop_id, GST_OBJECT_LOCK (filter); switch (prop_id) { - case PROP_SILENT: - g_value_set_boolean (value, filter->silent); - break; case PROP_EDGE_A: g_value_set_uint (value, filter->edge_a); break; @@ -356,7 +344,6 @@ transform (guint32 * src, guint32 * dest, gint video_area, green = CLAMP (green, 0, 255); blue = CLAMP (blue, 0, 255); - *dest++ = (red << 16) | (green << 8) | blue; } } diff --git a/gst/gaudieffects/gstchromium.h b/gst/gaudieffects/gstchromium.h index 144e53f6a..4d54e2a66 100644 --- a/gst/gaudieffects/gstchromium.h +++ b/gst/gaudieffects/gstchromium.h @@ -71,7 +71,6 @@ struct GstChromium /* < private > */ gint edge_a, edge_b; - gboolean silent; }; struct GstChromiumClass diff --git a/gst/gaudieffects/gstdilate.c b/gst/gaudieffects/gstdilate.c index 60cae5730..98fa053fe 100644 --- a/gst/gaudieffects/gstdilate.c +++ b/gst/gaudieffects/gstdilate.c @@ -89,7 +89,6 @@ enum { PROP_0, PROP_ERODE, - PROP_SILENT }; /* Initializations */ @@ -154,10 +153,6 @@ gst_dilate_class_init (GstDilateClass * klass) g_param_spec_boolean ("erode", "Erode", "Erode parameter", FALSE, G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS | GST_PARAM_CONTROLLABLE)); - g_object_class_install_property (gobject_class, PROP_SILENT, - g_param_spec_boolean ("silent", "Silent", "Produce verbose output ?", - FALSE, G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS)); - vfilter_class->transform_frame = GST_DEBUG_FUNCPTR (gst_dilate_transform_frame); } @@ -171,7 +166,6 @@ static void gst_dilate_init (GstDilate * filter) { filter->erode = DEFAULT_ERODE; - filter->silent = FALSE; } static void @@ -181,9 +175,6 @@ gst_dilate_set_property (GObject * object, guint prop_id, GstDilate *filter = GST_DILATE (object); switch (prop_id) { - case PROP_SILENT: - filter->silent = g_value_get_boolean (value); - break; case PROP_ERODE: filter->erode = g_value_get_boolean (value); break; @@ -201,9 +192,6 @@ gst_dilate_get_property (GObject * object, guint prop_id, GST_OBJECT_LOCK (filter); switch (prop_id) { - case PROP_SILENT: - g_value_set_boolean (value, filter->silent); - break; case PROP_ERODE: g_value_set_boolean (value, filter->erode); break; diff --git a/gst/gaudieffects/gstdilate.h b/gst/gaudieffects/gstdilate.h index fb2b52ed2..afb09018f 100644 --- a/gst/gaudieffects/gstdilate.h +++ b/gst/gaudieffects/gstdilate.h @@ -72,7 +72,6 @@ struct _GstDilate GstVideoFilter videofilter; /* < private > */ - gboolean silent; gboolean erode; }; diff --git a/gst/gaudieffects/gstdodge.c b/gst/gaudieffects/gstdodge.c index 0efacd446..8cf8c6eaf 100644 --- a/gst/gaudieffects/gstdodge.c +++ b/gst/gaudieffects/gstdodge.c @@ -88,7 +88,6 @@ enum enum { PROP_0, - PROP_SILENT }; /* Initializations */ @@ -145,10 +144,6 @@ gst_dodge_class_init (GstDodgeClass * klass) gobject_class->get_property = gst_dodge_get_property; gobject_class->finalize = gst_dodge_finalize; - g_object_class_install_property (gobject_class, PROP_SILENT, - g_param_spec_boolean ("silent", "Silent", "Produce verbose output ?", - FALSE, G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS)); - vfilter_class->transform_frame = GST_DEBUG_FUNCPTR (gst_dodge_transform_frame); } @@ -161,19 +156,13 @@ gst_dodge_class_init (GstDodgeClass * klass) static void gst_dodge_init (GstDodge * filter) { - filter->silent = FALSE; } static void gst_dodge_set_property (GObject * object, guint prop_id, const GValue * value, GParamSpec * pspec) { - GstDodge *filter = GST_DODGE (object); - switch (prop_id) { - case PROP_SILENT: - filter->silent = g_value_get_boolean (value); - break; default: G_OBJECT_WARN_INVALID_PROPERTY_ID (object, prop_id, pspec); break; @@ -184,18 +173,11 @@ static void gst_dodge_get_property (GObject * object, guint prop_id, GValue * value, GParamSpec * pspec) { - GstDodge *filter = GST_DODGE (object); - - GST_OBJECT_LOCK (filter); switch (prop_id) { - case PROP_SILENT: - g_value_set_boolean (value, filter->silent); - break; default: G_OBJECT_WARN_INVALID_PROPERTY_ID (object, prop_id, pspec); break; } - GST_OBJECT_UNLOCK (filter); } static void diff --git a/gst/gaudieffects/gstdodge.h b/gst/gaudieffects/gstdodge.h index 21794d5cb..64bf4d0cb 100644 --- a/gst/gaudieffects/gstdodge.h +++ b/gst/gaudieffects/gstdodge.h @@ -70,9 +70,6 @@ typedef struct _GstDodgeClass GstDodgeClass; struct _GstDodge { GstVideoFilter videofilter; - - /* < private > */ - gboolean silent; }; struct _GstDodgeClass diff --git a/gst/gaudieffects/gstexclusion.c b/gst/gaudieffects/gstexclusion.c index 235594ca2..8eaacf1f5 100644 --- a/gst/gaudieffects/gstexclusion.c +++ b/gst/gaudieffects/gstexclusion.c @@ -88,7 +88,6 @@ enum { PROP_0 = 0, PROP_FACTOR, - PROP_SILENT }; /* Initializations */ @@ -155,10 +154,6 @@ gst_exclusion_class_init (GstExclusionClass * klass) "Exclusion factor parameter", 0, 175, DEFAULT_FACTOR, G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS | GST_PARAM_CONTROLLABLE)); - g_object_class_install_property (gobject_class, PROP_SILENT, - g_param_spec_boolean ("silent", "Silent", "Produce verbose output ?", - FALSE, G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS)); - vfilter_class->transform_frame = GST_DEBUG_FUNCPTR (gst_exclusion_transform_frame); } @@ -172,7 +167,6 @@ static void gst_exclusion_init (GstExclusion * filter) { filter->factor = DEFAULT_FACTOR; - filter->silent = FALSE; } static void @@ -182,9 +176,6 @@ gst_exclusion_set_property (GObject * object, guint prop_id, GstExclusion *filter = GST_EXCLUSION (object); switch (prop_id) { - case PROP_SILENT: - filter->silent = g_value_get_boolean (value); - break; case PROP_FACTOR: filter->factor = g_value_get_uint (value); break; @@ -202,9 +193,6 @@ gst_exclusion_get_property (GObject * object, guint prop_id, GST_OBJECT_LOCK (filter); switch (prop_id) { - case PROP_SILENT: - g_value_set_boolean (value, filter->silent); - break; case PROP_FACTOR: g_value_set_uint (value, filter->factor); break; diff --git a/gst/gaudieffects/gstexclusion.h b/gst/gaudieffects/gstexclusion.h index cdf026a9b..b91083560 100644 --- a/gst/gaudieffects/gstexclusion.h +++ b/gst/gaudieffects/gstexclusion.h @@ -73,7 +73,6 @@ struct _GstExclusion /* < private > */ gint factor; - gboolean silent; }; struct _GstExclusionClass diff --git a/gst/gaudieffects/gstsolarize.c b/gst/gaudieffects/gstsolarize.c index dde548f84..e73f4afb6 100644 --- a/gst/gaudieffects/gstsolarize.c +++ b/gst/gaudieffects/gstsolarize.c @@ -88,7 +88,6 @@ enum PROP_THRESHOLD, PROP_START, PROP_END, - PROP_SILENT }; /* Initializations */ @@ -168,10 +167,6 @@ gst_solarize_class_init (GstSolarizeClass * klass) "End parameter", 0, 256, DEFAULT_END, G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS | GST_PARAM_CONTROLLABLE)); - g_object_class_install_property (gobject_class, PROP_SILENT, - g_param_spec_boolean ("silent", "Silent", "Produce verbose output ?", - FALSE, G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS)); - vfilter_class->transform_frame = GST_DEBUG_FUNCPTR (gst_solarize_transform_frame); } @@ -187,7 +182,6 @@ gst_solarize_init (GstSolarize * filter) filter->threshold = DEFAULT_THRESHOLD; filter->start = DEFAULT_START; filter->end = DEFAULT_END; - filter->silent = FALSE; } static void @@ -197,9 +191,6 @@ gst_solarize_set_property (GObject * object, guint prop_id, GstSolarize *filter = GST_SOLARIZE (object); switch (prop_id) { - case PROP_SILENT: - filter->silent = g_value_get_boolean (value); - break; case PROP_THRESHOLD: filter->threshold = g_value_get_uint (value); break; @@ -223,9 +214,6 @@ gst_solarize_get_property (GObject * object, guint prop_id, GST_OBJECT_LOCK (filter); switch (prop_id) { - case PROP_SILENT: - g_value_set_boolean (value, filter->silent); - break; case PROP_THRESHOLD: g_value_set_uint (value, filter->threshold); break; diff --git a/gst/gaudieffects/gstsolarize.h b/gst/gaudieffects/gstsolarize.h index 7f9aece61..239056306 100644 --- a/gst/gaudieffects/gstsolarize.h +++ b/gst/gaudieffects/gstsolarize.h @@ -73,7 +73,6 @@ struct _GstSolarize /* < private > */ gint threshold, start, end; - gboolean silent; }; struct _GstSolarizeClass |