mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-03-13 23:22:54 +00:00
basesrc: Don't send error if negotiate fails because we are flushing
Negotiation may be aborted by a flush from another thread that need to stop the task (i.e. seek). Check that case and silently pause the task. https://bugzilla.gnome.org/show_bug.cgi?id=696357
This commit is contained in:
parent
a76885f333
commit
253035d395
1 changed files with 4 additions and 1 deletions
|
@ -2581,7 +2581,10 @@ gst_base_src_loop (GstPad * pad)
|
|||
if (gst_pad_check_reconfigure (pad)) {
|
||||
if (!gst_base_src_negotiate (src)) {
|
||||
gst_pad_mark_reconfigure (pad);
|
||||
goto negotiate_failed;
|
||||
if (GST_PAD_IS_FLUSHING (pad))
|
||||
goto flushing;
|
||||
else
|
||||
goto negotiate_failed;
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue