[Bug 688934] Gst.Event.parse_stream_start seems to not function correctly

GStreamer (bugzilla.gnome.org) bugzilla at gnome.org
Fri Nov 23 10:47:48 PST 2012


https://bugzilla.gnome.org/show_bug.cgi?id=688934
  GStreamer | gst-plugins-base | 1.x

--- Comment #4 from Christian Fredrik Kalager Schaller <Uraeus at linuxrising.org> 2012-11-23 18:47:45 UTC ---
ok, so the code is now:
event=Gst.PadProbeInfo.get_event(probeinfo)
       eventtype=event.type
       if eventtype==Gst.EventType.STREAM_START:
           streamid=Gst.Event.parse_stream_start(event)
           print(event)
           print(streamid)

But I am still getting an error:
Traceback (most recent call last):
  File "/home/cschalle/devel/transmageddon/src/transcoder_engine.py", line 337,
in padprobe
    streamid=Gst.Event.parse_stream_start(event)
  File "/usr/lib64/python3.2/site-packages/gi/types.py", line 43, in function
    return info.invoke(*args, **kwargs)
UnicodeDecodeError: 'utf-8' codec can't decode byte 0x82 in position 1: invalid
start byte

-- 
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