From 81dfce4095f6f8cc5df11be8239198702abba7ab Mon Sep 17 00:00:00 2001 From: Thiago Santos Date: Mon, 28 Jun 2010 09:34:30 -0300 Subject: [PATCH] asfdemux: Fix seeking after last commits Don't handle wrong-state returns as errors to allow seeking to work again. --- gst/asfdemux/gstasfdemux.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gst/asfdemux/gstasfdemux.c b/gst/asfdemux/gstasfdemux.c index 55c73bca56..b11a850b43 100644 --- a/gst/asfdemux/gstasfdemux.c +++ b/gst/asfdemux/gstasfdemux.c @@ -1650,7 +1650,7 @@ pause: gst_pad_pause_task (demux->sinkpad); /* For the error cases (not EOS) */ - if (!sent_eos) { + if (!sent_eos && (GST_FLOW_IS_FATAL (flow) || flow == GST_FLOW_NOT_LINKED)) { /* Post an error. Hopefully something else already has, but if not... */ GST_ELEMENT_ERROR (demux, STREAM, FAILED, (_("Internal data stream error.")),