Original commit message from CVS:
* gst/gstpipeline.c: (gst_pipeline_init):
When we create a pipeline bus, initially create it in flushing mode.
Fixes leaks in at least one test, and makes a new pipeline work the
same as one that has gone to READY and then back to NULL.
* gst/gstelement.c:
Typo fix in docs.
2006-04-05 Michael Smith <msmith@fluendo.com>
+ * gst/gstpipeline.c: (gst_pipeline_init):
+ When we create a pipeline bus, initially create it in flushing mode.
+ Fixes leaks in at least one test, and makes a new pipeline work the
+ same as one that has gone to READY and then back to NULL.
+
+ * gst/gstelement.c:
+ Typo fix in docs.
+
+2006-04-05 Michael Smith <msmith@fluendo.com>
+
* tests/check/gst/gstghostpad.c: (GST_START_TEST):
Unref a pad we reffed.
* tests/check/gst/gstutils.c: (GST_START_TEST):
*
* Returns the base time of the element. The base time is the
* absolute time of the clock when this element was last put to
- * PLAYING. Substracting the base time from the clock time gives
+ * PLAYING. Subtracting the base time from the clock time gives
* the stream time of the element.
*
* Returns: the base time of the element.
/* create and set a default bus */
bus = gst_bus_new ();
+ /* Start our bus in flushing if appropriate */
+ if (pipeline->priv->auto_flush_bus)
+ gst_bus_set_flushing (bus, TRUE);
+
gst_element_set_bus (GST_ELEMENT_CAST (pipeline), bus);
GST_DEBUG_OBJECT (pipeline, "set bus %" GST_PTR_FORMAT " on pipeline", bus);
gst_object_unref (bus);