Removed dead code
authorWim Taymans <wim.taymans@gmail.com>
Wed, 12 Dec 2001 11:17:02 +0000 (11:17 +0000)
committerWim Taymans <wim.taymans@gmail.com>
Wed, 12 Dec 2001 11:17:02 +0000 (11:17 +0000)
Original commit message from CVS:
Removed dead code

gst/gstbin.c
gst/gstbin.h

index f5c25e5..2b35706 100644 (file)
@@ -135,8 +135,6 @@ gst_bin_init (GstBin *bin)
 
   bin->numchildren = 0;
   bin->children = NULL;
-  bin->eos_providers = NULL;
-  bin->num_eos_providers = 0;
   bin->eoscond = g_cond_new ();
 }
 
@@ -736,18 +734,3 @@ gst_bin_iterate (GstBin *bin)
   return running;
 }
 
-/* out internal element fired EOS, we decrement the number of pending EOS childs */
-G_GNUC_UNUSED static void
-gst_bin_received_eos (GstElement *element, GstBin *bin)
-{
-  GST_INFO_ELEMENT (GST_CAT_PLANNING, bin, "child %s fired eos, pending %d", GST_ELEMENT_NAME (element),
-                 bin->num_eos_providers);
-
-  GST_LOCK (bin);
-  if (bin->num_eos_providers) {
-    bin->num_eos_providers--;
-    g_cond_signal (bin->eoscond);
-  }
-  GST_UNLOCK (bin);
-}
-
index 2a9c22c..b62248f 100644 (file)
@@ -71,8 +71,6 @@ struct _GstBin {
   /* our children */
   gint numchildren;
   GList *children;
-  gint num_eos_providers;
-  GList *eos_providers;
   GCond *eoscond;
 
   GstElementState child_states[GST_NUM_STATES];