[Bug 667562] [0.11] Race condition between streaming thread and resetting pads in downwards state change

GStreamer (bugzilla.gnome.org) bugzilla at gnome.org
Thu Jul 12 01:22:30 PDT 2012


https://bugzilla.gnome.org/show_bug.cgi?id=667562
  GStreamer | gstreamer (core) | 0.11.x

Edward Hervey <bilboed> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |bilboed at gmail.com

--- Comment #2 from Edward Hervey <bilboed at gmail.com> 2012-07-12 08:22:21 UTC ---
The behaviour it encounters is not fatal imho.

The pads being deactivated while the streaming thread is active is a common
behaviour, and the expected result is to return GST_FLOW_WRONG_STATE.

Either we can use GST_PAD_IS_ACTIVE (srcpad) or we can store a local variable
to know if we are active or not. And if it's not the case, return
GST_FLOW_WRONG_STATE.

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