summaryrefslogtreecommitdiff
path: root/gst
diff options
context:
space:
mode:
authorLuis de Bethencourt <luis.bg@samsung.com>2015-04-24 16:48:23 +0100
committerLuis de Bethencourt <luis.bg@samsung.com>2015-04-24 16:48:26 +0100
commitc944093d0847f36bf354211bf192b0c415b84036 (patch)
treeec4eaa66319c4791ca0804f46e5e48e075839710 /gst
parentb216629941c6d1db5d84e75477b539cc38fc5e70 (diff)
downloadgstreamer-plugins-bad-c944093d0847f36bf354211bf192b0c415b84036.tar.gz
remove unused enum items PROP_LAST
This were probably added to the enums due to cargo cult programming and are unused.
Diffstat (limited to 'gst')
-rw-r--r--gst/audiobuffer/gstaudioringbuffer.c3
-rw-r--r--gst/coloreffects/gstchromahold.c3
-rw-r--r--gst/debugutils/gstcompare.c3
-rw-r--r--gst/gaudieffects/gstgaussblur.c3
-rw-r--r--gst/pcapparse/gstpcapparse.c3
-rw-r--r--gst/rtp/gstrtph265pay.c3
-rw-r--r--gst/sdp/gstsdpdemux.c3
-rw-r--r--gst/videoparsers/gsth264parse.c3
-rw-r--r--gst/videoparsers/gsth265parse.c3
-rw-r--r--gst/videoparsers/gstmpeg4videoparse.c3
-rw-r--r--gst/videoparsers/gstmpegvideoparse.c3
11 files changed, 11 insertions, 22 deletions
diff --git a/gst/audiobuffer/gstaudioringbuffer.c b/gst/audiobuffer/gstaudioringbuffer.c
index 81c6aeb11..cd3147205 100644
--- a/gst/audiobuffer/gstaudioringbuffer.c
+++ b/gst/audiobuffer/gstaudioringbuffer.c
@@ -65,8 +65,7 @@ enum
{
PROP_0,
PROP_BUFFER_TIME,
- PROP_SEGMENT_TIME,
- PROP_LAST
+ PROP_SEGMENT_TIME
};
#define GST_TYPE_AUDIO_RINGBUFFER \
diff --git a/gst/coloreffects/gstchromahold.c b/gst/coloreffects/gstchromahold.c
index f4dd9edb7..fa5709d99 100644
--- a/gst/coloreffects/gstchromahold.c
+++ b/gst/coloreffects/gstchromahold.c
@@ -59,8 +59,7 @@ enum
PROP_TARGET_R,
PROP_TARGET_G,
PROP_TARGET_B,
- PROP_TOLERANCE,
- PROP_LAST
+ PROP_TOLERANCE
};
static GstStaticPadTemplate gst_chroma_hold_src_template =
diff --git a/gst/debugutils/gstcompare.c b/gst/debugutils/gstcompare.c
index 5de2f9da3..3d5261594 100644
--- a/gst/debugutils/gstcompare.c
+++ b/gst/debugutils/gstcompare.c
@@ -91,8 +91,7 @@ enum
PROP_OFFSET_TS,
PROP_METHOD,
PROP_THRESHOLD,
- PROP_UPPER,
- PROP_LAST
+ PROP_UPPER
};
#define DEFAULT_META GST_BUFFER_COPY_ALL
diff --git a/gst/gaudieffects/gstgaussblur.c b/gst/gaudieffects/gstgaussblur.c
index 89fd92929..bbf22b678 100644
--- a/gst/gaudieffects/gstgaussblur.c
+++ b/gst/gaudieffects/gstgaussblur.c
@@ -111,8 +111,7 @@ GST_STATIC_PAD_TEMPLATE ("src",
enum
{
PROP_0,
- PROP_SIGMA,
- PROP_LAST
+ PROP_SIGMA
};
static gboolean make_gaussian_kernel (GstGaussianBlur * gb, float sigma);
diff --git a/gst/pcapparse/gstpcapparse.c b/gst/pcapparse/gstpcapparse.c
index 98e71eb63..1a5388e88 100644
--- a/gst/pcapparse/gstpcapparse.c
+++ b/gst/pcapparse/gstpcapparse.c
@@ -64,8 +64,7 @@ enum
PROP_SRC_PORT,
PROP_DST_PORT,
PROP_CAPS,
- PROP_TS_OFFSET,
- PROP_LAST
+ PROP_TS_OFFSET
};
GST_DEBUG_CATEGORY_STATIC (gst_pcap_parse_debug);
diff --git a/gst/rtp/gstrtph265pay.c b/gst/rtp/gstrtph265pay.c
index b2da44d99..171a242ef 100644
--- a/gst/rtp/gstrtph265pay.c
+++ b/gst/rtp/gstrtph265pay.c
@@ -108,8 +108,7 @@ enum
{
PROP_0,
PROP_SPROP_PARAMETER_SETS,
- PROP_CONFIG_INTERVAL,
- PROP_LAST
+ PROP_CONFIG_INTERVAL
};
#define IS_ACCESS_UNIT(x) (((x) > 0x00) && ((x) < 0x06))
diff --git a/gst/sdp/gstsdpdemux.c b/gst/sdp/gstsdpdemux.c
index d2a1fa328..df3e69e53 100644
--- a/gst/sdp/gstsdpdemux.c
+++ b/gst/sdp/gstsdpdemux.c
@@ -84,8 +84,7 @@ enum
PROP_DEBUG,
PROP_TIMEOUT,
PROP_LATENCY,
- PROP_REDIRECT,
- PROP_LAST
+ PROP_REDIRECT
};
static void gst_sdp_demux_finalize (GObject * object);
diff --git a/gst/videoparsers/gsth264parse.c b/gst/videoparsers/gsth264parse.c
index 4a2d74808..4c7513df1 100644
--- a/gst/videoparsers/gsth264parse.c
+++ b/gst/videoparsers/gsth264parse.c
@@ -41,8 +41,7 @@ GST_DEBUG_CATEGORY (h264_parse_debug);
enum
{
PROP_0,
- PROP_CONFIG_INTERVAL,
- PROP_LAST
+ PROP_CONFIG_INTERVAL
};
enum
diff --git a/gst/videoparsers/gsth265parse.c b/gst/videoparsers/gsth265parse.c
index 2d7b99727..afa5116ba 100644
--- a/gst/videoparsers/gsth265parse.c
+++ b/gst/videoparsers/gsth265parse.c
@@ -37,8 +37,7 @@ GST_DEBUG_CATEGORY (h265_parse_debug);
enum
{
PROP_0,
- PROP_CONFIG_INTERVAL,
- PROP_LAST
+ PROP_CONFIG_INTERVAL
};
enum
diff --git a/gst/videoparsers/gstmpeg4videoparse.c b/gst/videoparsers/gstmpeg4videoparse.c
index a16936306..318843986 100644
--- a/gst/videoparsers/gstmpeg4videoparse.c
+++ b/gst/videoparsers/gstmpeg4videoparse.c
@@ -66,8 +66,7 @@ enum
{
PROP_0,
PROP_DROP,
- PROP_CONFIG_INTERVAL,
- PROP_LAST
+ PROP_CONFIG_INTERVAL
};
#define gst_mpeg4vparse_parent_class parent_class
diff --git a/gst/videoparsers/gstmpegvideoparse.c b/gst/videoparsers/gstmpegvideoparse.c
index dd57e9362..bf166d0fc 100644
--- a/gst/videoparsers/gstmpegvideoparse.c
+++ b/gst/videoparsers/gstmpegvideoparse.c
@@ -59,8 +59,7 @@ enum
{
PROP_0,
PROP_DROP,
- PROP_GOP_SPLIT,
- PROP_LAST
+ PROP_GOP_SPLIT
};
#define parent_class gst_mpegv_parse_parent_class