remove unused enum items PROP_LAST
authorLuis de Bethencourt <luis.bg@samsung.com>
Fri, 24 Apr 2015 16:01:10 +0000 (17:01 +0100)
committerLuis de Bethencourt <luis.bg@samsung.com>
Fri, 24 Apr 2015 16:01:12 +0000 (17:01 +0100)
This were probably added to the enums due to cargo cult programming and are
unused. Removing them.

22 files changed:
gst/alpha/gstalpha.c
gst/audiofx/audiokaraoke.c
gst/deinterlace/gstdeinterlace.c
gst/multifile/gstmultifilesink.c
gst/rtp/gstrtpg726depay.c
gst/rtp/gstrtpg726pay.c
gst/rtp/gstrtpgstpay.c
gst/rtp/gstrtph264pay.c
gst/rtp/gstrtpjpegpay.c
gst/rtpmanager/gstrtpbin.c
gst/rtpmanager/gstrtpjitterbuffer.c
gst/rtpmanager/gstrtprtxqueue.c
gst/rtpmanager/gstrtprtxreceive.c
gst/rtpmanager/gstrtprtxsend.c
gst/rtpmanager/gstrtpsession.c
gst/rtpmanager/rtpsession.c
gst/rtpmanager/rtpsource.c
gst/rtsp/gstrtspsrc.c
gst/smpte/gstsmpte.c
gst/smpte/gstsmptealpha.c
gst/udp/gstmultiudpsink.c
gst/udp/gstudpsrc.c

index 9566f30..736f377 100644 (file)
@@ -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 =
index 9d5d575..76697ca 100644 (file)
@@ -66,8 +66,7 @@ enum
   PROP_LEVEL,
   PROP_MONO_LEVEL,
   PROP_FILTER_BAND,
-  PROP_FILTER_WIDTH,
-  PROP_LAST
+  PROP_FILTER_WIDTH
 };
 
 #define ALLOWED_CAPS \
index 9a89f5c..f0e0f31 100644 (file)
@@ -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)
index b433acc..c035f55 100644 (file)
@@ -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);
index 45d99dc..0b4a041 100644 (file)
@@ -50,8 +50,7 @@ enum
 enum
 {
   PROP_0,
-  PROP_FORCE_AAL2,
-  PROP_LAST
+  PROP_FORCE_AAL2
 };
 
 static GstStaticPadTemplate gst_rtp_g726_depay_sink_template =
index a1c8f5d..da9fe25 100644 (file)
@@ -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 =
index 08794d1..6167008 100644 (file)
@@ -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
index ba5e4b3..665814a 100644 (file)
@@ -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))
index 8c3a6d4..bf4ed55 100644 (file)
@@ -114,8 +114,7 @@ enum
 {
   PROP_0,
   PROP_JPEG_QUALITY,
-  PROP_JPEG_TYPE,
-  PROP_LAST
+  PROP_JPEG_TYPE
 };
 
 enum
index c0d15e3..f0b8b4e 100644 (file)
@@ -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())
index ded09c1..dd458de 100644 (file)
@@ -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))
index c5b88dd..8e98543 100644 (file)
@@ -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",
index 898279b..71b8023 100644 (file)
@@ -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",
index 307fdd9..d9cc69f 100644 (file)
@@ -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",
index 191fb7d..384f3af 100644 (file)
@@ -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)  \
index a711c88..e3fe7be 100644 (file)
@@ -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 */
index 99383ea..d97adc4 100644 (file)
@@ -50,8 +50,7 @@ enum
   PROP_IS_SENDER,
   PROP_SDES,
   PROP_STATS,
-  PROP_PROBATION,
-  PROP_LAST
+  PROP_PROBATION
 };
 
 /* GObject vmethods */
index 0f42126..ccd0103 100644 (file)
@@ -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())
index a423b80..722f146 100644 (file)
@@ -94,8 +94,7 @@ enum
   PROP_BORDER,
   PROP_DEPTH,
   PROP_DURATION,
-  PROP_INVERT,
-  PROP_LAST,
+  PROP_INVERT
 };
 
 /* FIXME: should use video meta etc. */
index ba934ac..38e1d6c 100644 (file)
@@ -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)
index c81dc62..2f1a8ec 100644 (file)
@@ -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);
index 81cb1f1..6e3126f 100644 (file)
@@ -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);