[Bug 692358] appsrc crash setting the pipeline to NULL state
GStreamer (bugzilla.gnome.org)
bugzilla at gnome.org
Wed Jan 23 15:45:58 PST 2013
https://bugzilla.gnome.org/show_bug.cgi?id=692358
GStreamer | gst-plugins-base | unspecified
--- Comment #5 from Tim-Philipp Müller <t.i.m at zen.co.uk> 2013-01-23 23:45:45 UTC ---
What is the pipeline exactly?
Is there an indirect loop in the pipeline somehow? Do I read the stack trace
correctly that you have your own sink (either derived or going via appsink),
which pushes buffers to an appsrc?
According to the stack trace the basesink's change_state function (called from
your app when setting pipeline state to NULL) is waiting for the streaming
thread to finish / give up the preroll lock. This should have happened as
response to the ->unlock vfunc. Since the basesink's streaming thread is
blocked in the appsrc push, the unlock vfunc needs to set the appsrc's state to
NULL, so the push_buffer unblocks and the basesink's streaming thread can shut
down, and the state change function can continue to shut down the other
elements.
--
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