examples/vumeter.py: In fact it wasn't an application message, but an element message :)

Original commit message from CVS:
* examples/vumeter.py:
In fact it wasn't an application message, but an element message :)
This commit is contained in:
Edward Hervey 2006-02-20 18:07:59 +00:00
parent a73fac4769
commit 54686622a1
2 changed files with 6 additions and 1 deletions

View file

@ -1,3 +1,8 @@
2006-02-20 Edward Hervey <edward@fluendo.com>
* examples/vumeter.py:
In fact it wasn't an application message, but an element message :)
2006-02-20 Zaheer Abbas Merali <zaheerabbas at merali dot org>
* examples/vumeter.py:

View file

@ -92,7 +92,7 @@ class Window(gtk.Dialog):
pipeline = gst.parse_launch(s)
self.set_sensitive(True)
pipeline.get_bus().add_signal_watch()
i = pipeline.get_bus().connect('message', self.on_message)
i = pipeline.get_bus().connect('message::element', self.on_message)
pipeline.set_state(gst.STATE_PLAYING)
gtk.Dialog.run(self)
pipeline.get_bus().disconnect(i)