• Lars Wireen's avatar
    rtsp-media: Fix race codition in finish_unprepare · ae32203c
    Lars Wireen authored
    The previous fix for race condition around finish_unprepare where the
    function could be called twice assumed that the status wouldn't change
    during execution of the function. This assumption is incorrect as the
    state may change, for example if an error message arrives from the
    pipeline bus.
    
    Instead a flag keeping track on whether the finish_unprepare function
    is currently executing is introduced and checked.
    
    Fixes #59
    ae32203c
Name
Last commit
Last update
common @ 59cb6781 Loading commit data...
docs Loading commit data...
examples Loading commit data...
gst Loading commit data...
pkgconfig Loading commit data...
tests Loading commit data...
.gitignore Loading commit data...
.gitlab-ci.yml Loading commit data...
.gitmodules Loading commit data...
AUTHORS Loading commit data...
COPYING Loading commit data...
COPYING.LIB Loading commit data...
ChangeLog Loading commit data...
Makefile.am Loading commit data...
NEWS Loading commit data...
README Loading commit data...
RELEASE Loading commit data...
REQUIREMENTS Loading commit data...
TODO Loading commit data...
autogen.sh Loading commit data...
configure.ac Loading commit data...
gst-rtsp-server.doap Loading commit data...
meson.build Loading commit data...
meson_options.txt Loading commit data...