Force stopping a gstreamer pipeline

Sebastian Dröge sebastian at centricular.com
Mon Jun 6 14:57:21 UTC 2016


On Mo, 2016-06-06 at 16:45 +0200, Thomas Scheuermann wrote:
> Hi,
> 
> Am 03.06.2016 um 12:59 schrieb Nicolas Dufresne:
> > Le 3 juin 2016 5:06 AM, "Thomas Scheuermann" <scheuermann at barco.com
> > > a écrit :
> > >
> > > Hello,
> > >
> > > is there a way to force the stopping of a gstreamer pipeline?
> > > We have here a process running with several pipelines which are
> > started
> > > and stopped dynamically. Sometimes it happens that when I set the
> > state
> > > of the pipeline to GST_STATE_NULL
> > (gst_element_set_state(_pipeline,
> > > GST_STATE_NULL);) this call never comes back.
> > > What can I do in this situation?
> > > I use gstreamer 1.8.1
> > >
> > This is a deadlock. It should not happen unless you are doing
> > something wrong in your application, or if you have hit a big in
> > GStreamer. You may want to share a full backtrace.
> > Nicolas
>  Here is a sample code of a deadlock. I think, it is in
> jackaudiosink.
> If you restart the jack daemon while the pipeline is playing, the
> pipeline can't be stopped anymore.

Can you get a backtrace of all threads when it deadlocks?

-- 
Sebastian Dröge, Centricular Ltd · http://www.centricular.com
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 949 bytes
Desc: This is a digitally signed message part
URL: <https://lists.freedesktop.org/archives/gstreamer-devel/attachments/20160606/485dcf3d/attachment.sig>


More information about the gstreamer-devel mailing list