mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-12-20 07:16:55 +00:00
decodebin: fix deadlock when resetting buffering
This function is static, and only ever called with the expose lock taken. It thus has no reason to take this lock itself. This was introduced by one of my locking fixes from 741355. https://bugzilla.gnome.org/show_bug.cgi?id=741355
This commit is contained in:
parent
0b0c667e57
commit
561ddabd97
1 changed files with 0 additions and 2 deletions
|
@ -3062,13 +3062,11 @@ gst_decode_bin_reset_buffering (GstDecodeBin * dbin)
|
|||
return;
|
||||
|
||||
GST_DEBUG_OBJECT (dbin, "Reseting multiqueues buffering");
|
||||
EXPOSE_LOCK (dbin);
|
||||
if (dbin->decode_chain) {
|
||||
CHAIN_MUTEX_LOCK (dbin->decode_chain);
|
||||
gst_decode_chain_reset_buffering (dbin->decode_chain);
|
||||
CHAIN_MUTEX_UNLOCK (dbin->decode_chain);
|
||||
}
|
||||
EXPOSE_UNLOCK (dbin);
|
||||
}
|
||||
|
||||
/****
|
||||
|
|
Loading…
Reference in a new issue