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

gst/audiotestsrc/gstaudiotestsrc.c
gst/encoding/gstencodebin.c
gst/playback/gstdecodebin2.c
gst/playback/gstplaybin2.c
gst/playback/gstplaysink.c
gst/playback/gsturidecodebin.c
gst/tcp/gstmultifdsink.c
gst/tcp/gstmultihandlesink.c
gst/tcp/gstmultioutputsink.c
gst/videotestsrc/gstvideotestsrc.c

index 04d9de69410f30668961232c004f29d8041a276e..c349559eb07135d3c01a1eeb88152677c223425e 100644 (file)
@@ -71,8 +71,7 @@ enum
   PROP_IS_LIVE,
   PROP_TIMESTAMP_OFFSET,
   PROP_CAN_ACTIVATE_PUSH,
-  PROP_CAN_ACTIVATE_PULL,
-  PROP_LAST
+  PROP_CAN_ACTIVATE_PULL
 };
 
 #if G_BYTE_ORDER == G_LITTLE_ENDIAN
index 4a2da5afb8e798609be21adc4e8dced1f828e484..212cb46ea1ad03557cb8f25421af9cacb438fd62 100644 (file)
@@ -251,8 +251,7 @@ enum
   PROP_QUEUE_TIME_MAX,
   PROP_AUDIO_JITTER_TOLERANCE,
   PROP_AVOID_REENCODING,
-  PROP_FLAGS,
-  PROP_LAST
+  PROP_FLAGS
 };
 
 /* Signals */
index 28337c03aa5c275e91400d050ae01afdf48846df..1e58ff4e7f01f1e71bddb4218426f6e1b9f2e77e 100644 (file)
@@ -269,8 +269,7 @@ enum
   PROP_MAX_SIZE_TIME,
   PROP_POST_STREAM_TOPOLOGY,
   PROP_EXPOSE_ALL_STREAMS,
-  PROP_CONNECTION_SPEED,
-  PROP_LAST
+  PROP_CONNECTION_SPEED
 };
 
 static GstBinClass *parent_class;
index bf227662ce78dd37945165f9b460b564191b8fe7..757ec9b5693ea9d705f4fefc9e471550c1973076 100644 (file)
@@ -570,8 +570,7 @@ enum
   PROP_RING_BUFFER_MAX_SIZE,
   PROP_FORCE_ASPECT_RATIO,
   PROP_AUDIO_FILTER,
-  PROP_VIDEO_FILTER,
-  PROP_LAST
+  PROP_VIDEO_FILTER
 };
 
 /* signals */
index 62dc5fbf3006b38cba8354a0c738b7e6343d1371..041bff00c89eacf438cddea2e3e25c3c7fdc3fac 100644 (file)
@@ -345,8 +345,7 @@ enum
   PROP_SEND_EVENT_MODE,
   PROP_FORCE_ASPECT_RATIO,
   PROP_VIDEO_FILTER,
-  PROP_AUDIO_FILTER,
-  PROP_LAST
+  PROP_AUDIO_FILTER
 };
 
 /* signals */
index 2807a50c8eea7bfc3dcdf403d367e01acd06a34c..784d01063c83e51a6c2962aab01dd8db0ccc2e91 100644 (file)
@@ -197,8 +197,7 @@ enum
   PROP_DOWNLOAD,
   PROP_USE_BUFFERING,
   PROP_EXPOSE_ALL_STREAMS,
-  PROP_RING_BUFFER_MAX_SIZE,
-  PROP_LAST
+  PROP_RING_BUFFER_MAX_SIZE
 };
 
 static guint gst_uri_decode_bin_signals[LAST_SIGNAL] = { 0 };
index ab95985d40def5c1f80f7e20c7d15d04e4aaadd1..c7b591f06b4afe796cf23c6756d1871c2cfb5a2f 100644 (file)
@@ -153,8 +153,7 @@ enum
 enum
 {
   PROP_0,
-  PROP_HANDLE_READ,
-  PROP_LAST
+  PROP_HANDLE_READ
 };
 
 static void gst_multi_fd_sink_stop_pre (GstMultiHandleSink * mhsink);
index 38bd8414289cdf17161b0fe923ac6126d1f10f8b..6ddbc981bc5219751822fe29625831ea9dddec9b 100644 (file)
@@ -194,9 +194,7 @@ enum
 
   PROP_RESEND_STREAMHEADER,
 
-  PROP_NUM_HANDLES,
-
-  PROP_LAST
+  PROP_NUM_HANDLES
 };
 
 GType
index e573d1908923a07982e95335105d04b2982f47ba..89f7e59ebe007372a474efe6c97320074041a909 100644 (file)
@@ -197,9 +197,7 @@ enum
 
   PROP_RESEND_STREAMHEADER,
 
-  PROP_NUM_OUTPUTS,
-
-  PROP_LAST
+  PROP_NUM_OUTPUTS
 };
 
 #define GST_TYPE_RECOVER_POLICY (gst_multi_output_sink_recover_policy_get_type())
index ce98cb4803cb545adf38d502aa69135bcafe20f3..60b320012f6f6dd83330d9bca1f079ee8fba8767 100644 (file)
@@ -74,8 +74,7 @@ enum
   PROP_YOFFSET,
   PROP_FOREGROUND_COLOR,
   PROP_BACKGROUND_COLOR,
-  PROP_HORIZONTAL_SPEED,
-  PROP_LAST
+  PROP_HORIZONTAL_SPEED
 };