mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-06-05 15:08:53 +00:00
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:
parent
240fc75fba
commit
9052406ced
2 changed files with 6 additions and 1 deletions
|
@ -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>
|
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[])
|
||||||
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);
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue