[gstreamer-bugs] [Bug 601617] matroska-demuxer triggers an assert in gststructure.c

GStreamer (bugzilla.gnome.org) bugzilla at gnome.org
Thu Dec 3 11:16:46 PST 2009


https://bugzilla.gnome.org/show_bug.cgi?id=601617
  GStreamer | gst-plugins-good | unspecified

--- Comment #10 from Tim-Philipp Müller <t.i.m at zen.co.uk> 2009-12-03 19:16:43 UTC ---
> And regarding the seek - i am changing the state of the pipeline to PAUSED and
> then waiting for the state transition to occur with gst_element_get_state ()
> and also waiting for the 'no-more-pads' signal to be emitted on the demuxer.
> Isn't that enough? Isn't the pipeline prerolled at that stage?
> I have asked that question a couple of times on irc but haven't got any reply.

no-more-pads will be emitted before the pipeline is prerolled (most likely at
some point during header parsing in matroska) - it will also be called from the
streaming thread btw.

Waiting for preroll with _get_state()  should work, but is not ideal, since it
will hang forever if there's an error. I'd suggest something like

  msg = gst_bus_timed_pop_filtered (GST_ELEMENT_BUS (pipeline),
      GST_CLOCK_TIME_NONE, GST_MESSAGE_ERROR | GST_MESSAGE_ASYNC_DONE);

instead (even better: use a timeout, like 5*GST_SECOND, to be on the safe side
if something goes wrong).

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