Commit c944093d authored by Luis de Bethencourt's avatar Luis de Bethencourt

remove unused enum items PROP_LAST

This were probably added to the enums due to cargo cult programming and are
unused.
parent b2166299
......@@ -65,8 +65,7 @@ enum
{
PROP_0,
PROP_BUFFER_TIME,
PROP_SEGMENT_TIME,
PROP_LAST
PROP_SEGMENT_TIME
};
#define GST_TYPE_AUDIO_RINGBUFFER \
......
......@@ -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 =
......
......@@ -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
......
......@@ -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);
......
......@@ -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);
......
......@@ -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))
......
......@@ -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);
......
......@@ -41,8 +41,7 @@ GST_DEBUG_CATEGORY (h264_parse_debug);
enum
{
PROP_0,
PROP_CONFIG_INTERVAL,
PROP_LAST
PROP_CONFIG_INTERVAL
};
enum
......
......@@ -37,8 +37,7 @@ GST_DEBUG_CATEGORY (h265_parse_debug);
enum
{
PROP_0,
PROP_CONFIG_INTERVAL,
PROP_LAST
PROP_CONFIG_INTERVAL
};
enum
......
......@@ -66,8 +66,7 @@ enum
{
PROP_0,
PROP_DROP,
PROP_CONFIG_INTERVAL,
PROP_LAST
PROP_CONFIG_INTERVAL
};
#define gst_mpeg4vparse_parent_class parent_class
......
......@@ -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
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment