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

GStreamer (bugzilla.gnome.org) bugzilla at gnome.org
Fri Nov 23 05:34:14 PST 2012


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

           Summary: Gst.Event.parse_stream_start seems to not function
                    correctly
    Classification: Platform
           Product: GStreamer
           Version: 1.x
        OS/Version: Linux
            Status: UNCONFIRMED
          Severity: normal
          Priority: Normal
         Component: gst-plugins-base
        AssignedTo: gstreamer-bugs at lists.freedesktop.org
        ReportedBy: Uraeus at linuxrising.org
         QAContact: gstreamer-bugs at lists.freedesktop.org
     GNOME version: ---


Trying to parse the stream-start to get hold of the stream id. But I am getting
some weird errors.The code I have is this:
def padprobe(self, pad, probeinfo, userdata):
       event=Gst.PadProbeInfo.get_event(probeinfo)
       streamid=Gst.Event.parse_stream_start(event)
       print(event)
       print(streamid)

Which comes out of a :
src_pad.add_probe(Gst.PadProbeType.EVENT_DOWNSTREAM, self.padprobe, "user
data")

However when this runs:
(transmageddon.py:14655): GStreamer-CRITICAL **: gst_event_parse_stream_start:
assertion `GST_EVENT_TYPE (event) == GST_EVENT_STREAM_START' failed
<GstEvent at 0x7fc7b401eb00>
None

(transmageddon.py:14655): GStreamer-CRITICAL **: gst_event_parse_stream_start:
assertion `GST_EVENT_TYPE (event) == GST_EVENT_STREAM_START' failed
<GstEvent at 0x7fc7b401eb00>
None
<GstEvent at 0x23a1d20>
316219e736e3faa85c7d959cf09f7ba4001c84f4a39c6a5d1fd579054e7e7c32/22206b36

(transmageddon.py:14655): GStreamer-CRITICAL **: gst_event_parse_stream_start:
assertion `GST_EVENT_TYPE (event) == GST_EVENT_STREAM_START' failed
<GstEvent at 0x7fc7b401eb00>
None
*** glibc detected *** python3: double free or corruption (fasttop):
0x00007fc7ac01a920 ***

--------
To me it looks like the parse_stream_start doesn't validate properly and
resurns the GStreamer-CRITICAL instead of a False. Not sure what the crash at
the end is about.

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