mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-12-28 03:00:35 +00:00
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:
parent
a73fac4769
commit
54686622a1
2 changed files with 6 additions and 1 deletions
|
@ -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:
|
||||
|
|
|
@ -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)
|
||||
|
|
Loading…
Reference in a new issue