[Bug 684312] rtspsrc: mutex blocks going to NULL state

GStreamer (bugzilla.gnome.org) bugzilla at gnome.org
Wed Sep 19 15:25:45 PDT 2012


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

Aleix Conchillo Flaqué <aleix> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
 Attachment #224655|0                           |1
        is obsolete|                            |

--- Comment #3 from Aleix Conchillo Flaqué <aleix at oblong.com> 2012-09-19 22:25:40 UTC ---
Created an attachment (id=224786)
 View: https://bugzilla.gnome.org/attachment.cgi?id=224786
 Review: https://bugzilla.gnome.org/review?bug=684312&attachment=224786

do not run commands if changing to NULL state

We have been able to reproduce this again, this time more easily. I finally
understood what's going on. We are setting the pipeline to NULL from our
application thread. The problem is that gst_rtspsrc_thread might also wanted to
try changing the state (e.g. gst_rtspsrc_play). However, as we are going to
NULL and gst_rtspsrc_stop is called inside a state change, everything blocks.

>From the commit log:

we avoid running any command if we are in the middle of a NULL state change.
NULL state change might happen in a different thread, so we don't want to
change the state from gst_rtspsrc_thread (e.g. in gst_rtspsrc_play).

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