summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--gst/flv/gstflvdemux.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/gst/flv/gstflvdemux.c b/gst/flv/gstflvdemux.c
index 1f538888b..170c44348 100644
--- a/gst/flv/gstflvdemux.c
+++ b/gst/flv/gstflvdemux.c
@@ -2686,7 +2686,8 @@ gst_flv_demux_loop (GstPad * pad)
}
/* pause if something went wrong or at end */
- if (G_UNLIKELY (ret != GST_FLOW_OK))
+ if (G_UNLIKELY (ret != GST_FLOW_OK) && !(ret == GST_FLOW_NOT_LINKED
+ && !demux->no_more_pads))
goto pause;
gst_object_unref (demux);