Commit 671b4d25 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. Removing them.
parent 03d3d360
......@@ -120,8 +120,7 @@ enum
PROP_NOISE_LEVEL,
PROP_BLACK_SENSITIVITY,
PROP_WHITE_SENSITIVITY,
PROP_PREFER_PASSTHROUGH,
PROP_LAST
PROP_PREFER_PASSTHROUGH
};
static GstStaticPadTemplate gst_alpha_src_template =
......
......@@ -66,8 +66,7 @@ enum
PROP_LEVEL,
PROP_MONO_LEVEL,
PROP_FILTER_BAND,
PROP_FILTER_WIDTH,
PROP_LAST
PROP_FILTER_WIDTH
};
#define ALLOWED_CAPS \
......
......@@ -75,8 +75,7 @@ enum
PROP_FIELD_LAYOUT,
PROP_LOCKING,
PROP_IGNORE_OBSCURE,
PROP_DROP_ORPHANS,
PROP_LAST
PROP_DROP_ORPHANS
};
#define GST_DEINTERLACE_BUFFER_STATE_P (1<<0)
......
......@@ -144,8 +144,7 @@ enum
PROP_POST_MESSAGES,
PROP_NEXT_FILE,
PROP_MAX_FILES,
PROP_MAX_FILE_SIZE,
PROP_LAST
PROP_MAX_FILE_SIZE
};
static void gst_multi_file_sink_finalize (GObject * object);
......
......@@ -50,8 +50,7 @@ enum
enum
{
PROP_0,
PROP_FORCE_AAL2,
PROP_LAST
PROP_FORCE_AAL2
};
static GstStaticPadTemplate gst_rtp_g726_depay_sink_template =
......
......@@ -38,8 +38,7 @@ GST_DEBUG_CATEGORY_STATIC (rtpg726pay_debug);
enum
{
PROP_0,
PROP_FORCE_AAL2,
PROP_LAST
PROP_FORCE_AAL2
};
static GstStaticPadTemplate gst_rtp_g726_pay_sink_template =
......
......@@ -76,8 +76,7 @@ GST_STATIC_PAD_TEMPLATE ("src",
enum
{
PROP_0,
PROP_CONFIG_INTERVAL,
PROP_LAST
PROP_CONFIG_INTERVAL
};
#define DEFAULT_CONFIG_INTERVAL 0
......
......@@ -72,8 +72,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))
......
......@@ -114,8 +114,7 @@ enum
{
PROP_0,
PROP_JPEG_QUALITY,
PROP_JPEG_TYPE,
PROP_LAST
PROP_JPEG_TYPE
};
enum
......
......@@ -304,8 +304,7 @@ enum
PROP_BUFFER_MODE,
PROP_USE_PIPELINE_CLOCK,
PROP_DO_SYNC_EVENT,
PROP_DO_RETRANSMISSION,
PROP_LAST
PROP_DO_RETRANSMISSION
};
#define GST_RTP_BIN_RTCP_SYNC_TYPE (gst_rtp_bin_rtcp_sync_get_type())
......
......@@ -158,8 +158,7 @@ enum
PROP_RTX_MIN_RETRY_TIMEOUT,
PROP_RTX_RETRY_PERIOD,
PROP_RTX_MAX_RETRIES,
PROP_STATS,
PROP_LAST
PROP_STATS
};
#define JBUF_LOCK(priv) (g_mutex_lock (&(priv)->jbuf_lock))
......
......@@ -44,8 +44,7 @@ enum
{
PROP_0,
PROP_MAX_SIZE_TIME,
PROP_MAX_SIZE_PACKETS,
PROP_LAST
PROP_MAX_SIZE_PACKETS
};
static GstStaticPadTemplate src_factory = GST_STATIC_PAD_TEMPLATE ("src",
......
......@@ -133,8 +133,7 @@ enum
PROP_PAYLOAD_TYPE_MAP,
PROP_NUM_RTX_REQUESTS,
PROP_NUM_RTX_PACKETS,
PROP_NUM_RTX_ASSOC_PACKETS,
PROP_LAST
PROP_NUM_RTX_ASSOC_PACKETS
};
static GstStaticPadTemplate src_factory = GST_STATIC_PAD_TEMPLATE ("src",
......
......@@ -61,8 +61,7 @@ enum
PROP_MAX_SIZE_TIME,
PROP_MAX_SIZE_PACKETS,
PROP_NUM_RTX_REQUESTS,
PROP_NUM_RTX_PACKETS,
PROP_LAST
PROP_NUM_RTX_PACKETS
};
static GstStaticPadTemplate src_factory = GST_STATIC_PAD_TEMPLATE ("src",
......
......@@ -216,8 +216,7 @@ enum
PROP_USE_PIPELINE_CLOCK,
PROP_RTCP_MIN_INTERVAL,
PROP_PROBATION,
PROP_STATS,
PROP_LAST
PROP_STATS
};
#define GST_RTP_SESSION_GET_PRIVATE(obj) \
......
......@@ -88,8 +88,7 @@ enum
PROP_RTCP_FEEDBACK_RETENTION_WINDOW,
PROP_RTCP_IMMEDIATE_FEEDBACK_THRESHOLD,
PROP_PROBATION,
PROP_STATS,
PROP_LAST
PROP_STATS
};
/* update average packet size */
......
......@@ -50,8 +50,7 @@ enum
PROP_IS_SENDER,
PROP_SDES,
PROP_STATS,
PROP_PROBATION,
PROP_LAST
PROP_PROBATION
};
/* GObject vmethods */
......
......@@ -232,8 +232,7 @@ enum
PROP_SDES,
PROP_TLS_VALIDATION_FLAGS,
PROP_TLS_DATABASE,
PROP_DO_RETRANSMISSION,
PROP_LAST
PROP_DO_RETRANSMISSION
};
#define GST_TYPE_RTSP_NAT_METHOD (gst_rtsp_nat_method_get_type())
......
......@@ -94,8 +94,7 @@ enum
PROP_BORDER,
PROP_DEPTH,
PROP_DURATION,
PROP_INVERT,
PROP_LAST,
PROP_INVERT
};
/* FIXME: should use video meta etc. */
......
......@@ -94,8 +94,7 @@ enum
PROP_BORDER,
PROP_DEPTH,
PROP_POSITION,
PROP_INVERT,
PROP_LAST,
PROP_INVERT
};
#define AYUV_SIZE(w,h) ((w) * (h) * 4)
......
......@@ -112,8 +112,7 @@ enum
PROP_SEND_DUPLICATES,
PROP_BUFFER_SIZE,
PROP_BIND_ADDRESS,
PROP_BIND_PORT,
PROP_LAST
PROP_BIND_PORT
};
static void gst_multiudpsink_finalize (GObject * object);
......
......@@ -173,9 +173,7 @@ enum
PROP_USED_SOCKET,
PROP_AUTO_MULTICAST,
PROP_REUSE,
PROP_ADDRESS,
PROP_LAST
PROP_ADDRESS
};
static void gst_udpsrc_uri_handler_init (gpointer g_iface, gpointer iface_data);
......
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