diff --git a/gst/gstpipeline.c b/gst/gstpipeline.c
index 94c1ee4d57bab7b7e14ab91dfe61d85432739972..c18aa9648f8351c4b07c5315bc0497220e34518f 100644 (file)
--- a/gst/gstpipeline.c
+++ b/gst/gstpipeline.c
gst_pipeline_init (GTypeInstance * instance, gpointer g_class)
{
GstPipeline *pipeline = GST_PIPELINE (instance);
+ GstBus *bus;
pipeline->delay = DEFAULT_DELAY;
pipeline->play_timeout = DEFAULT_PLAY_TIMEOUT;
+
+ bus = g_object_new (gst_bus_get_type (), NULL);
+ gst_element_set_bus (GST_ELEMENT_CAST (pipeline), bus);
+ gst_object_unref (bus);
}
static void