mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-12-27 10:40:34 +00:00
Renamed a local var to better state what its purpose is.
Original commit message from CVS: Renamed a local var to better state what its purpose is.
This commit is contained in:
parent
2604bfe8e7
commit
40cdffa6a7
1 changed files with 6 additions and 3 deletions
|
@ -660,18 +660,21 @@ gboolean
|
|||
gst_bin_iterate (GstBin *bin)
|
||||
{
|
||||
GstBinClass *oclass;
|
||||
gboolean eos = TRUE;
|
||||
gboolean running = TRUE;
|
||||
|
||||
GST_DEBUG_ENTER("(\"%s\")",GST_ELEMENT_NAME (bin));
|
||||
|
||||
oclass = GST_BIN_CLASS (G_OBJECT_GET_CLASS(bin));
|
||||
|
||||
if (oclass->iterate)
|
||||
eos = (oclass->iterate) (bin);
|
||||
running = (oclass->iterate) (bin);
|
||||
|
||||
GST_DEBUG_LEAVE("(\"%s\")",GST_ELEMENT_NAME (bin));
|
||||
|
||||
return eos;
|
||||
// if (!running)
|
||||
// gst_element_set_state (GST_ELEMENT (bin), GST_STATE_PAUSED);
|
||||
|
||||
return running;
|
||||
}
|
||||
|
||||
/* out internal element fired EOS, we decrement the number of pending EOS childs */
|
||||
|
|
Loading…
Reference in a new issue