From 52c2614f26c3540d3eb2c94fc39eed01b2654a9d Mon Sep 17 00:00:00 2001 From: Wim Taymans Date: Wed, 12 Dec 2001 11:17:02 +0000 Subject: [PATCH] Removed dead code Original commit message from CVS: Removed dead code --- gst/gstbin.c | 17 ----------------- gst/gstbin.h | 2 -- 2 files changed, 19 deletions(-) diff --git a/gst/gstbin.c b/gst/gstbin.c index f5c25e5..2b35706 100644 --- a/gst/gstbin.c +++ b/gst/gstbin.c @@ -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); -} - diff --git a/gst/gstbin.h b/gst/gstbin.h index 2a9c22c..b62248f 100644 --- a/gst/gstbin.h +++ b/gst/gstbin.h @@ -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]; -- 2.7.4