mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-12-25 09:40:37 +00:00
asfdemux: Fix seeking after last commits
Don't handle wrong-state returns as errors to allow seeking to work again.
This commit is contained in:
parent
36e12c92c1
commit
81dfce4095
1 changed files with 1 additions and 1 deletions
|
@ -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.")),
|
||||
|
|
Loading…
Reference in a new issue