gst/level/level-example.c: Update for new bus API.
authorWim Taymans <wim.taymans@gmail.com>
Thu, 29 Sep 2005 13:08:41 +0000 (13:08 +0000)
committerWim Taymans <wim.taymans@gmail.com>
Thu, 29 Sep 2005 13:08:41 +0000 (13:08 +0000)
Original commit message from CVS:
* gst/level/level-example.c: (main):
Update for new bus API.

ChangeLog
gst/level/level-example.c

index 6bd72f3..7655214 100644 (file)
--- 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:
index 3f41f7f..ed647de 100644 (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);