mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-18 07:47:17 +00:00
remove unused enum items PROP_LAST
This were probably added to the enums due to cargo cult programming and are unused. Removing them.
This commit is contained in:
parent
03d3d36053
commit
671b4d25cd
22 changed files with 22 additions and 45 deletions
|
@ -120,8 +120,7 @@ enum
|
||||||
PROP_NOISE_LEVEL,
|
PROP_NOISE_LEVEL,
|
||||||
PROP_BLACK_SENSITIVITY,
|
PROP_BLACK_SENSITIVITY,
|
||||||
PROP_WHITE_SENSITIVITY,
|
PROP_WHITE_SENSITIVITY,
|
||||||
PROP_PREFER_PASSTHROUGH,
|
PROP_PREFER_PASSTHROUGH
|
||||||
PROP_LAST
|
|
||||||
};
|
};
|
||||||
|
|
||||||
static GstStaticPadTemplate gst_alpha_src_template =
|
static GstStaticPadTemplate gst_alpha_src_template =
|
||||||
|
|
|
@ -66,8 +66,7 @@ enum
|
||||||
PROP_LEVEL,
|
PROP_LEVEL,
|
||||||
PROP_MONO_LEVEL,
|
PROP_MONO_LEVEL,
|
||||||
PROP_FILTER_BAND,
|
PROP_FILTER_BAND,
|
||||||
PROP_FILTER_WIDTH,
|
PROP_FILTER_WIDTH
|
||||||
PROP_LAST
|
|
||||||
};
|
};
|
||||||
|
|
||||||
#define ALLOWED_CAPS \
|
#define ALLOWED_CAPS \
|
||||||
|
|
|
@ -75,8 +75,7 @@ enum
|
||||||
PROP_FIELD_LAYOUT,
|
PROP_FIELD_LAYOUT,
|
||||||
PROP_LOCKING,
|
PROP_LOCKING,
|
||||||
PROP_IGNORE_OBSCURE,
|
PROP_IGNORE_OBSCURE,
|
||||||
PROP_DROP_ORPHANS,
|
PROP_DROP_ORPHANS
|
||||||
PROP_LAST
|
|
||||||
};
|
};
|
||||||
|
|
||||||
#define GST_DEINTERLACE_BUFFER_STATE_P (1<<0)
|
#define GST_DEINTERLACE_BUFFER_STATE_P (1<<0)
|
||||||
|
|
|
@ -144,8 +144,7 @@ enum
|
||||||
PROP_POST_MESSAGES,
|
PROP_POST_MESSAGES,
|
||||||
PROP_NEXT_FILE,
|
PROP_NEXT_FILE,
|
||||||
PROP_MAX_FILES,
|
PROP_MAX_FILES,
|
||||||
PROP_MAX_FILE_SIZE,
|
PROP_MAX_FILE_SIZE
|
||||||
PROP_LAST
|
|
||||||
};
|
};
|
||||||
|
|
||||||
static void gst_multi_file_sink_finalize (GObject * object);
|
static void gst_multi_file_sink_finalize (GObject * object);
|
||||||
|
|
|
@ -50,8 +50,7 @@ enum
|
||||||
enum
|
enum
|
||||||
{
|
{
|
||||||
PROP_0,
|
PROP_0,
|
||||||
PROP_FORCE_AAL2,
|
PROP_FORCE_AAL2
|
||||||
PROP_LAST
|
|
||||||
};
|
};
|
||||||
|
|
||||||
static GstStaticPadTemplate gst_rtp_g726_depay_sink_template =
|
static GstStaticPadTemplate gst_rtp_g726_depay_sink_template =
|
||||||
|
|
|
@ -38,8 +38,7 @@ GST_DEBUG_CATEGORY_STATIC (rtpg726pay_debug);
|
||||||
enum
|
enum
|
||||||
{
|
{
|
||||||
PROP_0,
|
PROP_0,
|
||||||
PROP_FORCE_AAL2,
|
PROP_FORCE_AAL2
|
||||||
PROP_LAST
|
|
||||||
};
|
};
|
||||||
|
|
||||||
static GstStaticPadTemplate gst_rtp_g726_pay_sink_template =
|
static GstStaticPadTemplate gst_rtp_g726_pay_sink_template =
|
||||||
|
|
|
@ -76,8 +76,7 @@ GST_STATIC_PAD_TEMPLATE ("src",
|
||||||
enum
|
enum
|
||||||
{
|
{
|
||||||
PROP_0,
|
PROP_0,
|
||||||
PROP_CONFIG_INTERVAL,
|
PROP_CONFIG_INTERVAL
|
||||||
PROP_LAST
|
|
||||||
};
|
};
|
||||||
|
|
||||||
#define DEFAULT_CONFIG_INTERVAL 0
|
#define DEFAULT_CONFIG_INTERVAL 0
|
||||||
|
|
|
@ -72,8 +72,7 @@ enum
|
||||||
{
|
{
|
||||||
PROP_0,
|
PROP_0,
|
||||||
PROP_SPROP_PARAMETER_SETS,
|
PROP_SPROP_PARAMETER_SETS,
|
||||||
PROP_CONFIG_INTERVAL,
|
PROP_CONFIG_INTERVAL
|
||||||
PROP_LAST
|
|
||||||
};
|
};
|
||||||
|
|
||||||
#define IS_ACCESS_UNIT(x) (((x) > 0x00) && ((x) < 0x06))
|
#define IS_ACCESS_UNIT(x) (((x) > 0x00) && ((x) < 0x06))
|
||||||
|
|
|
@ -114,8 +114,7 @@ enum
|
||||||
{
|
{
|
||||||
PROP_0,
|
PROP_0,
|
||||||
PROP_JPEG_QUALITY,
|
PROP_JPEG_QUALITY,
|
||||||
PROP_JPEG_TYPE,
|
PROP_JPEG_TYPE
|
||||||
PROP_LAST
|
|
||||||
};
|
};
|
||||||
|
|
||||||
enum
|
enum
|
||||||
|
|
|
@ -304,8 +304,7 @@ enum
|
||||||
PROP_BUFFER_MODE,
|
PROP_BUFFER_MODE,
|
||||||
PROP_USE_PIPELINE_CLOCK,
|
PROP_USE_PIPELINE_CLOCK,
|
||||||
PROP_DO_SYNC_EVENT,
|
PROP_DO_SYNC_EVENT,
|
||||||
PROP_DO_RETRANSMISSION,
|
PROP_DO_RETRANSMISSION
|
||||||
PROP_LAST
|
|
||||||
};
|
};
|
||||||
|
|
||||||
#define GST_RTP_BIN_RTCP_SYNC_TYPE (gst_rtp_bin_rtcp_sync_get_type())
|
#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_MIN_RETRY_TIMEOUT,
|
||||||
PROP_RTX_RETRY_PERIOD,
|
PROP_RTX_RETRY_PERIOD,
|
||||||
PROP_RTX_MAX_RETRIES,
|
PROP_RTX_MAX_RETRIES,
|
||||||
PROP_STATS,
|
PROP_STATS
|
||||||
PROP_LAST
|
|
||||||
};
|
};
|
||||||
|
|
||||||
#define JBUF_LOCK(priv) (g_mutex_lock (&(priv)->jbuf_lock))
|
#define JBUF_LOCK(priv) (g_mutex_lock (&(priv)->jbuf_lock))
|
||||||
|
|
|
@ -44,8 +44,7 @@ enum
|
||||||
{
|
{
|
||||||
PROP_0,
|
PROP_0,
|
||||||
PROP_MAX_SIZE_TIME,
|
PROP_MAX_SIZE_TIME,
|
||||||
PROP_MAX_SIZE_PACKETS,
|
PROP_MAX_SIZE_PACKETS
|
||||||
PROP_LAST
|
|
||||||
};
|
};
|
||||||
|
|
||||||
static GstStaticPadTemplate src_factory = GST_STATIC_PAD_TEMPLATE ("src",
|
static GstStaticPadTemplate src_factory = GST_STATIC_PAD_TEMPLATE ("src",
|
||||||
|
|
|
@ -133,8 +133,7 @@ enum
|
||||||
PROP_PAYLOAD_TYPE_MAP,
|
PROP_PAYLOAD_TYPE_MAP,
|
||||||
PROP_NUM_RTX_REQUESTS,
|
PROP_NUM_RTX_REQUESTS,
|
||||||
PROP_NUM_RTX_PACKETS,
|
PROP_NUM_RTX_PACKETS,
|
||||||
PROP_NUM_RTX_ASSOC_PACKETS,
|
PROP_NUM_RTX_ASSOC_PACKETS
|
||||||
PROP_LAST
|
|
||||||
};
|
};
|
||||||
|
|
||||||
static GstStaticPadTemplate src_factory = GST_STATIC_PAD_TEMPLATE ("src",
|
static GstStaticPadTemplate src_factory = GST_STATIC_PAD_TEMPLATE ("src",
|
||||||
|
|
|
@ -61,8 +61,7 @@ enum
|
||||||
PROP_MAX_SIZE_TIME,
|
PROP_MAX_SIZE_TIME,
|
||||||
PROP_MAX_SIZE_PACKETS,
|
PROP_MAX_SIZE_PACKETS,
|
||||||
PROP_NUM_RTX_REQUESTS,
|
PROP_NUM_RTX_REQUESTS,
|
||||||
PROP_NUM_RTX_PACKETS,
|
PROP_NUM_RTX_PACKETS
|
||||||
PROP_LAST
|
|
||||||
};
|
};
|
||||||
|
|
||||||
static GstStaticPadTemplate src_factory = GST_STATIC_PAD_TEMPLATE ("src",
|
static GstStaticPadTemplate src_factory = GST_STATIC_PAD_TEMPLATE ("src",
|
||||||
|
|
|
@ -216,8 +216,7 @@ enum
|
||||||
PROP_USE_PIPELINE_CLOCK,
|
PROP_USE_PIPELINE_CLOCK,
|
||||||
PROP_RTCP_MIN_INTERVAL,
|
PROP_RTCP_MIN_INTERVAL,
|
||||||
PROP_PROBATION,
|
PROP_PROBATION,
|
||||||
PROP_STATS,
|
PROP_STATS
|
||||||
PROP_LAST
|
|
||||||
};
|
};
|
||||||
|
|
||||||
#define GST_RTP_SESSION_GET_PRIVATE(obj) \
|
#define GST_RTP_SESSION_GET_PRIVATE(obj) \
|
||||||
|
|
|
@ -88,8 +88,7 @@ enum
|
||||||
PROP_RTCP_FEEDBACK_RETENTION_WINDOW,
|
PROP_RTCP_FEEDBACK_RETENTION_WINDOW,
|
||||||
PROP_RTCP_IMMEDIATE_FEEDBACK_THRESHOLD,
|
PROP_RTCP_IMMEDIATE_FEEDBACK_THRESHOLD,
|
||||||
PROP_PROBATION,
|
PROP_PROBATION,
|
||||||
PROP_STATS,
|
PROP_STATS
|
||||||
PROP_LAST
|
|
||||||
};
|
};
|
||||||
|
|
||||||
/* update average packet size */
|
/* update average packet size */
|
||||||
|
|
|
@ -50,8 +50,7 @@ enum
|
||||||
PROP_IS_SENDER,
|
PROP_IS_SENDER,
|
||||||
PROP_SDES,
|
PROP_SDES,
|
||||||
PROP_STATS,
|
PROP_STATS,
|
||||||
PROP_PROBATION,
|
PROP_PROBATION
|
||||||
PROP_LAST
|
|
||||||
};
|
};
|
||||||
|
|
||||||
/* GObject vmethods */
|
/* GObject vmethods */
|
||||||
|
|
|
@ -232,8 +232,7 @@ enum
|
||||||
PROP_SDES,
|
PROP_SDES,
|
||||||
PROP_TLS_VALIDATION_FLAGS,
|
PROP_TLS_VALIDATION_FLAGS,
|
||||||
PROP_TLS_DATABASE,
|
PROP_TLS_DATABASE,
|
||||||
PROP_DO_RETRANSMISSION,
|
PROP_DO_RETRANSMISSION
|
||||||
PROP_LAST
|
|
||||||
};
|
};
|
||||||
|
|
||||||
#define GST_TYPE_RTSP_NAT_METHOD (gst_rtsp_nat_method_get_type())
|
#define GST_TYPE_RTSP_NAT_METHOD (gst_rtsp_nat_method_get_type())
|
||||||
|
|
|
@ -94,8 +94,7 @@ enum
|
||||||
PROP_BORDER,
|
PROP_BORDER,
|
||||||
PROP_DEPTH,
|
PROP_DEPTH,
|
||||||
PROP_DURATION,
|
PROP_DURATION,
|
||||||
PROP_INVERT,
|
PROP_INVERT
|
||||||
PROP_LAST,
|
|
||||||
};
|
};
|
||||||
|
|
||||||
/* FIXME: should use video meta etc. */
|
/* FIXME: should use video meta etc. */
|
||||||
|
|
|
@ -94,8 +94,7 @@ enum
|
||||||
PROP_BORDER,
|
PROP_BORDER,
|
||||||
PROP_DEPTH,
|
PROP_DEPTH,
|
||||||
PROP_POSITION,
|
PROP_POSITION,
|
||||||
PROP_INVERT,
|
PROP_INVERT
|
||||||
PROP_LAST,
|
|
||||||
};
|
};
|
||||||
|
|
||||||
#define AYUV_SIZE(w,h) ((w) * (h) * 4)
|
#define AYUV_SIZE(w,h) ((w) * (h) * 4)
|
||||||
|
|
|
@ -112,8 +112,7 @@ enum
|
||||||
PROP_SEND_DUPLICATES,
|
PROP_SEND_DUPLICATES,
|
||||||
PROP_BUFFER_SIZE,
|
PROP_BUFFER_SIZE,
|
||||||
PROP_BIND_ADDRESS,
|
PROP_BIND_ADDRESS,
|
||||||
PROP_BIND_PORT,
|
PROP_BIND_PORT
|
||||||
PROP_LAST
|
|
||||||
};
|
};
|
||||||
|
|
||||||
static void gst_multiudpsink_finalize (GObject * object);
|
static void gst_multiudpsink_finalize (GObject * object);
|
||||||
|
|
|
@ -173,9 +173,7 @@ enum
|
||||||
PROP_USED_SOCKET,
|
PROP_USED_SOCKET,
|
||||||
PROP_AUTO_MULTICAST,
|
PROP_AUTO_MULTICAST,
|
||||||
PROP_REUSE,
|
PROP_REUSE,
|
||||||
PROP_ADDRESS,
|
PROP_ADDRESS
|
||||||
|
|
||||||
PROP_LAST
|
|
||||||
};
|
};
|
||||||
|
|
||||||
static void gst_udpsrc_uri_handler_init (gpointer g_iface, gpointer iface_data);
|
static void gst_udpsrc_uri_handler_init (gpointer g_iface, gpointer iface_data);
|
||||||
|
|
Loading…
Reference in a new issue