mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-04-26 06:54:49 +00:00
basesrc: Make sure to always hold the LIVE_LOCK when going to the flushing label
https://bugzilla.gnome.org/show_bug.cgi?id=728596
This commit is contained in:
parent
094fdfee7e
commit
63c1728040
1 changed files with 4 additions and 2 deletions
|
@ -2684,10 +2684,12 @@ gst_base_src_loop (GstPad * pad)
|
||||||
if (gst_pad_check_reconfigure (pad)) {
|
if (gst_pad_check_reconfigure (pad)) {
|
||||||
if (!gst_base_src_negotiate (src)) {
|
if (!gst_base_src_negotiate (src)) {
|
||||||
gst_pad_mark_reconfigure (pad);
|
gst_pad_mark_reconfigure (pad);
|
||||||
if (GST_PAD_IS_FLUSHING (pad))
|
if (GST_PAD_IS_FLUSHING (pad)) {
|
||||||
|
GST_LIVE_LOCK (src);
|
||||||
goto flushing;
|
goto flushing;
|
||||||
else
|
} else {
|
||||||
goto negotiate_failed;
|
goto negotiate_failed;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue