mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-02-23 06:26:23 +00:00
cleanups
Original commit message from CVS: cleanups
This commit is contained in:
parent
dd9d93d295
commit
b5b28a3c8b
1 changed files with 5 additions and 4 deletions
|
@ -791,11 +791,11 @@ gst_bin_iterate_func (GstBin * bin)
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* gst_bin_iterate:
|
* gst_bin_iterate:
|
||||||
* @bin: #Gstbin to iterate
|
* @bin: a#GstBin to iterate.
|
||||||
*
|
*
|
||||||
* Iterates over the elements in this bin.
|
* Iterates over the elements in this bin.
|
||||||
*
|
*
|
||||||
* Returns: TRUE if the bin did something usefull. This value
|
* Returns: TRUE if the bin did something useful. This value
|
||||||
* can be used to determine it the bin is in EOS.
|
* can be used to determine it the bin is in EOS.
|
||||||
*/
|
*/
|
||||||
gboolean
|
gboolean
|
||||||
|
@ -823,7 +823,8 @@ gst_bin_iterate (GstBin * bin)
|
||||||
GST_DEBUG_LEAVE ("(\"%s\") %d", GST_ELEMENT_NAME (bin), running);
|
GST_DEBUG_LEAVE ("(\"%s\") %d", GST_ELEMENT_NAME (bin), running);
|
||||||
|
|
||||||
if (!running) {
|
if (!running) {
|
||||||
if (GST_STATE (bin) == GST_STATE_PLAYING && GST_STATE_PENDING (bin) == GST_STATE_VOID_PENDING) {
|
if (GST_STATE (bin) == GST_STATE_PLAYING &&
|
||||||
|
GST_STATE_PENDING (bin) == GST_STATE_VOID_PENDING) {
|
||||||
GST_DEBUG_ELEMENT (GST_CAT_DATAFLOW, bin,
|
GST_DEBUG_ELEMENT (GST_CAT_DATAFLOW, bin,
|
||||||
"polling for child shutdown after useless iteration");
|
"polling for child shutdown after useless iteration");
|
||||||
usleep (1);
|
usleep (1);
|
||||||
|
|
Loading…
Reference in a new issue