summaryrefslogtreecommitdiffstats
path: root/gst/level
diff options
context:
space:
mode:
authorWim Taymans <wim.taymans@gmail.com>2005-09-19 11:38:10 +0000
committerWim Taymans <wim.taymans@gmail.com>2005-09-19 11:38:10 +0000
commitb578f722f9260d7e0fb2b25f511694b8f992b70a (patch)
tree4e4cd973be03710e70b0a60259d32ca7a297f183 /gst/level
parent4d3f241eb2e2cd54ff38f095a6e3035571aae5d0 (diff)
gst/level/level-example.c: Fix for new bus API.
Original commit message from CVS: * gst/level/level-example.c: (main): Fix for new bus API. * gst/udp/gstudpsrc.c: (gst_udpsrc_set_property): Set caps on pads.
Diffstat (limited to 'gst/level')
-rw-r--r--gst/level/level-example.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gst/level/level-example.c b/gst/level/level-example.c
index dcfdec0c..6aac1a5d 100644
--- a/gst/level/level-example.c
+++ b/gst/level/level-example.c
@@ -77,7 +77,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, message_handler, NULL);
+ watch_id = gst_bus_add_watch (bus, GST_MESSAGE_ANY, message_handler, NULL);
gst_element_set_state (pipeline, GST_STATE_PLAYING);