From: Thomas V. S. <tho...@us...> - 2002-09-12 18:55:34
|
CVS Root: /cvsroot/gstreamer Module: gstreamer Changes by: thomasvs Date: Thu Sep 12 2002 11:55:33 PDT Log message: cleanups Modified files: gst : gstbin.c Links: http://cvs.sf.net/cgi-bin/viewcvs.cgi/gstreamer/gstreamer/gst/gstbin.c.diff?r1=1.141&r2=1.142 ====Begin Diffs==== Index: gstbin.c =================================================================== RCS file: /cvsroot/gstreamer/gstreamer/gst/gstbin.c,v retrieving revision 1.141 retrieving revision 1.142 diff -u -d -r1.141 -r1.142 --- gstbin.c 28 Jul 2002 01:46:38 -0000 1.141 +++ gstbin.c 12 Sep 2002 18:55:21 -0000 1.142 @@ -791,15 +791,15 @@ /** * gst_bin_iterate: - * @bin: #Gstbin to iterate + * @bin: a#GstBin to iterate. * * 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. */ gboolean -gst_bin_iterate (GstBin * bin) +gst_bin_iterate (GstBin *bin) { GstBinClass *oclass; gboolean running = TRUE; @@ -823,7 +823,8 @@ GST_DEBUG_LEAVE ("(\"%s\") %d", GST_ELEMENT_NAME (bin), 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, "polling for child shutdown after useless iteration"); usleep (1); |