[Bug 692358] appsrc deadlock setting the pipeline to NULL state

GStreamer (bugzilla.gnome.org) bugzilla at gnome.org
Fri Feb 8 03:26:07 PST 2013


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

Tim-Philipp Müller <t.i.m> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEEDINFO                    |NEW
     Ever Confirmed|0                           |1

--- Comment #11 from Tim-Philipp Müller <t.i.m at zen.co.uk> 2013-02-08 11:26:01 UTC ---
Right, so I can reproduce the deadlock with your test case in 0.10, and it's
probably still present in 1.0.

I am not sure if your solution is really right.

I think the problem is ultimately that we allow buffers to be pushed into the
appsrc even in NULL state, both before start and after shutdown.

As part of the downward state change, the _unlock() and _unlock_stop()
functions will be called, which will signal on the GCond. After that, no more
buffers should be accepted IMHO, thus preventing any blocking after that point.

However, it's a slight change in behaviour. Will need to see if that's
acceptable. Should be ok to change after stopping at least, hopefully.

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