2006-01-20 Thomas Vander Stichele <thomas at apestaart dot org>
+ * docs/random/release:
+ update notes
+ * gst/gstbin.c: (gst_bin_init):
+ * gst/gstbus.c: (gst_bus_new):
+ * gst/gstbus.h:
+ * gst/gstpipeline.c: (gst_pipeline_init):
+ use gst_bus_new(), improve logging, fix docs
+ * win32/common/config.h:
+ update for cvs build
+
+2006-01-20 Thomas Vander Stichele <thomas at apestaart dot org>
+
* autogen.sh:
up required version of automake to 1.7
- tag tree
for example for 0.6.3 :
cvs tag RELEASE-0_6_3
+ - bump nano number, commit
- if working in the "stable" release branch, update to this tag to freeze it:
cvs up -r RELEASE-0_6_3
- sync source and packages to website
- add entry on website; commit additions to website
+ - change versions in www/src/htdocs/entities.gst
+ - add versions and milestones in bugzilla
+
bin->clock_dirty = FALSE;
/* Set up a bus for listening to child elements */
- bus = g_object_new (gst_bus_get_type (), NULL);
+ bus = gst_bus_new ();
bin->child_bus = bus;
+ GST_DEBUG_OBJECT (bin, "using bus %" GST_PTR_FORMAT " to listen to children",
+ bus);
gst_bus_set_sync_handler (bus, (GstBusSyncHandler) bin_bus_handler, bin);
}
* convert all bus messages into signal emissions.
*
* A message is posted on the bus with the gst_bus_post() method. With the
- * gst_bus_peek() and gst_bus_pop() methods one can look at or retrieve a previously
- * posted message.
+ * gst_bus_peek() and gst_bus_pop() methods one can look at or retrieve a
+ * previously posted message.
*
* The bus can be polled with the gst_bus_poll() method. This methods blocks
* up to the specified timeout value until one of the specified messages types
GstBus *result;
result = g_object_new (gst_bus_get_type (), NULL);
+ GST_DEBUG_OBJECT (result, "created new bus");
return result;
}
/**
* gst_bus_add_signal_watch_full:
- * @bus: a #GstBus on which you want to recieve the "message" signal
+ * @bus: a #GstBus on which you want to receive the "message" signal
* @priority: The priority of the watch.
*
* Adds a bus signal watch to the default main context with the given priority.
/**
* gst_bus_add_signal_watch:
- * @bus: a #GstBus on which you want to recieve the "message" signal
+ * @bus: a #GstBus on which you want to receive the "message" signal
*
- * Adds a bus signal watch to the default main context with the default priority.
+ * Adds a bus signal watch to the default main context with the default
+ * priority.
* After calling this statement, the bus will emit the message signal for each
* message posted on the bus.
*
* @message: the #GstMessage
* @data: user data that has been given, when registering the handler
*
- * Specifies the type of function passed to #gst_bus_add_watch() or
- * #gst_bus_add_watch_full(), which is called from the mainloop when a message
+ * Specifies the type of function passed to gst_bus_add_watch() or
+ * gst_bus_add_watch_full(), which is called from the mainloop when a message
* is available on the bus.
*
* The message passed to the function will be unreffed after execution of this
pipeline->delay = DEFAULT_DELAY;
- bus = g_object_new (gst_bus_get_type (), NULL);
+ bus = gst_bus_new ();
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);
}