mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-01-22 15:18:21 +00:00
Removed dead code
Original commit message from CVS: Removed dead code
This commit is contained in:
parent
e4bba88ae9
commit
52c2614f26
2 changed files with 0 additions and 19 deletions
17
gst/gstbin.c
17
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);
|
||||
}
|
||||
|
||||
|
|
|
@ -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];
|
||||
|
|
Loading…
Reference in a new issue