Commit 9052406c authored by Wim Taymans's avatar Wim Taymans

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.
parent 240fc75f
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> 2005-09-28 Tim-Philipp Müller <tim at centricular dot net>
* configure.ac: * configure.ac:
......
...@@ -90,7 +90,7 @@ main (int argc, char *argv[]) ...@@ -90,7 +90,7 @@ main (int argc, char *argv[])
g_object_set (G_OBJECT (level), "message", TRUE, NULL); g_object_set (G_OBJECT (level), "message", TRUE, NULL);
bus = gst_element_get_bus (pipeline); 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); gst_element_set_state (pipeline, GST_STATE_PLAYING);
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment