[Bug 783301] basesrc: Should not hold LIVE_LOCK when calling GstBaseSrcClass::create

GStreamer (GNOME Bugzilla) bugzilla at gnome.org
Tue Jul 4 01:13:12 UTC 2017


https://bugzilla.gnome.org/show_bug.cgi?id=783301

--- Comment #14 from Nicolas Dufresne (stormer) <nicolas at ndufresne.ca> ---
I've simplified further my test, and pushed a unit test.

Author: Nicolas Dufresne <nicolas.dufresne at collabora.com>
Date:   Mon Jul 3 21:08:02 2017 -0400

    test-appsrc: Test state when blocked in caps Event

    In GStreamer 1.12 and older, the GstBaseSrc live lock used to be held while
    create() virtual function was called. As appsrc pushes serialized event in
    that virtual function, we ended up with some deadlock while setting the
    state to NULL. This test simulates this situation.

    https://bugzilla.gnome.org/show_bug.cgi?id=783301

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