aboutsummaryrefslogtreecommitdiff
path: root/libs/gst/base/gstbasesrc.c
diff options
context:
space:
mode:
Diffstat (limited to 'libs/gst/base/gstbasesrc.c')
-rw-r--r--libs/gst/base/gstbasesrc.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/libs/gst/base/gstbasesrc.c b/libs/gst/base/gstbasesrc.c
index 72448a6..9a18826 100644
--- a/libs/gst/base/gstbasesrc.c
+++ b/libs/gst/base/gstbasesrc.c
@@ -2579,7 +2579,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;
}
}