From 7917bea855307da5b9fc515f581c0197c3903845 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Olivier=20Cr=C3=AAte?= Date: Sat, 25 Jul 2015 03:25:28 -0400 Subject: [PATCH] avidemux: Stop without posting error on flushing This could just be a normal pipeline shutdown. --- gst/avi/gstavidemux.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/gst/avi/gstavidemux.c b/gst/avi/gstavidemux.c index f2bebaf..56916e7 100644 --- a/gst/avi/gstavidemux.c +++ b/gst/avi/gstavidemux.c @@ -4355,9 +4355,11 @@ no_index: } pull_range_failed: { + if (res == GST_FLOW_FLUSHING) + return res; GST_ELEMENT_ERROR (avi, STREAM, DEMUX, (NULL), ("pull_range flow reading header: %s", gst_flow_get_name (res))); - return GST_FLOW_ERROR; + return res; } } -- 2.7.4