summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--ChangeLog5
-rw-r--r--gst/level/level-example.c2
2 files changed, 6 insertions, 1 deletions
diff --git a/ChangeLog b/ChangeLog
index 6bd72f39..76552146 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -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:
diff --git a/gst/level/level-example.c b/gst/level/level-example.c
index 3f41f7f1..ed647de2 100644
--- a/gst/level/level-example.c
+++ b/gst/level/level-example.c
@@ -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);