gst/level/level-example.c: Update for new bus API.

Original commit message from CVS:
* gst/level/level-example.c: (main):
Update for new bus API.
This commit is contained in:
Wim Taymans 2005-09-29 13:08:41 +00:00
parent 240fc75fba
commit 9052406ced
2 changed files with 6 additions and 1 deletions

View file

@ -1,3 +1,8 @@
2005-09-29 Wim Taymans <wim@fluendo.com>
* gst/level/level-example.c: (main):
Update for new bus API.
2005-09-28 Tim-Philipp Müller <tim at centricular dot net>
* configure.ac:

View file

@ -90,7 +90,7 @@ main (int argc, char *argv[])
g_object_set (G_OBJECT (level), "message", TRUE, NULL);
bus = gst_element_get_bus (pipeline);
watch_id = gst_bus_add_watch (bus, GST_MESSAGE_ANY, message_handler, NULL);
watch_id = gst_bus_add_watch (bus, message_handler, NULL);
gst_element_set_state (pipeline, GST_STATE_PLAYING);