[Bug 659193] New: Can't receive bus messages using PyGObject

GStreamer (bugzilla.gnome.org) bugzilla at gnome.org
Thu Sep 15 14:38:39 PDT 2011


https://bugzilla.gnome.org/show_bug.cgi?id=659193
  GStreamer | common | 0.10.32

           Summary: Can't receive bus messages using PyGObject
    Classification: Platform
           Product: GStreamer
           Version: 0.10.32
        OS/Version: All
            Status: UNCONFIRMED
          Severity: normal
          Priority: Normal
         Component: common
        AssignedTo: gstreamer-bugs at lists.freedesktop.org
        ReportedBy: tal.liron at gmail.com
         QAContact: gstreamer-bugs at lists.freedesktop.org
     GNOME version: ---


The message is always None!

See also:
http://stackoverflow.com/questions/7005058/gstreamer-bus-sends-none-message

Here's some code to reproduce it quickly:

from gi.repository import Gst

def on_message(bus, message):
   print bus, message

Gst.init(None)
player = Gst.ElementFactory.make('playbin2', self.name)
# add a src and sink to playbin
bus = player.get_bus()
bus.add_signal_watch()
bus.connect('message', on_message)

-- 
Configure bugmail: https://bugzilla.gnome.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.
You are the assignee for the bug.


More information about the gstreamer-bugs mailing list