• Nicolas Dufresne's avatar
    rtpssrcdemux: Avoid taking streamlock out-of-band · f7c712d0
    Nicolas Dufresne authored
    In this change we now protect the internal srcpads list using the
    stream lock and limit usage of the internal stream lock to
    preventing data flowing on the other src pad type while creating
    and signalling the new pad.
    
    This fixes a deadlock with RTPBin shutdown lock. These two locks would
    end up being taken in two different order, which caused a deadlock. More
    generally, we should not rely on a streamlock when handling out-of-band
    data, so as a side effect, we should not take a stream lock when
    iterating internal links.
    f7c712d0
Name
Last commit
Last update
common @ 59cb6781 Loading commit data...
docs Loading commit data...
ext Loading commit data...
gst Loading commit data...
gst-libs/gst Loading commit data...
hooks Loading commit data...
m4 Loading commit data...
pkgconfig Loading commit data...
po Loading commit data...
sys 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...
ChangeLog Loading commit data...
MAINTAINERS Loading commit data...
Makefile.am Loading commit data...
NEWS Loading commit data...
README Loading commit data...
README.static-linking Loading commit data...
RELEASE Loading commit data...
REQUIREMENTS Loading commit data...
autogen.sh Loading commit data...
configure.ac Loading commit data...
gst-plugins-good.doap Loading commit data...
meson.build Loading commit data...
meson_options.txt Loading commit data...