mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-03-30 12:49:40 +00:00
Prevent early EOS by resetting eos flag once GST_OMX_ACQUIRE_BUFFER_EOS is triggered
https://bugzilla.gnome.org/show_bug.cgi?id=774600
This commit is contained in:
parent
5d5fbcd8f6
commit
8716c23e2b
1 changed files with 2 additions and 1 deletions
|
@ -1343,11 +1343,12 @@ retry:
|
||||||
GST_DEBUG_OBJECT (comp->parent, "Component %s port %d signalled EOS",
|
GST_DEBUG_OBJECT (comp->parent, "Component %s port %d signalled EOS",
|
||||||
comp->name, port->index);
|
comp->name, port->index);
|
||||||
ret = GST_OMX_ACQUIRE_BUFFER_EOS;
|
ret = GST_OMX_ACQUIRE_BUFFER_EOS;
|
||||||
|
port->eos = FALSE
|
||||||
goto done;
|
goto done;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* At this point we have no error or flushing/eos port
|
* At this point we have no error or flushing/eos port
|
||||||
* and a properly configured port.
|
* and a properly configured port.
|
||||||
*
|
*
|
||||||
|
|
Loading…
Reference in a new issue