[Bug 768179] Hang while changing to pause mode in id3demux

GStreamer (GNOME Bugzilla) bugzilla at gnome.org
Fri Nov 11 17:12:54 UTC 2016


https://bugzilla.gnome.org/show_bug.cgi?id=768179

--- Comment #15 from Tim-Philipp Müller <t.i.m at zen.co.uk> ---
Sebastian, my reading of the stack trace in comment #7 is that we're in the
typefind type-found callback (streaming thread), and there we have added a new
id3demux element downstream which we're setting to the state of the pipeline
via _sync_state().

This should surely be alright?

We must set the state in the callback here otherwise it will be racy and
typefind might push a buffer on a not-yet-active element.

Maybe the problem is _sync_state() and it should just be _set_state() ?

I also wouldn't be surprised if there's a bug in typefind or tagdemux, both
have fairly complicated logic to switch pad modes and such on the fly IIRC.

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