mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-06-05 15:08:53 +00:00
omx: Reset the flags for output ports when releasing a buffer, not for input ports
This commit is contained in:
parent
02335ef953
commit
ec687f1414
1 changed files with 1 additions and 1 deletions
|
@ -1354,7 +1354,7 @@ gst_omx_port_release_buffer (GstOMXPort * port, GstOMXBuffer * buf)
|
||||||
|
|
||||||
gst_omx_component_handle_messages (comp);
|
gst_omx_component_handle_messages (comp);
|
||||||
|
|
||||||
if (port->port_def.eDir == OMX_DirInput) {
|
if (port->port_def.eDir == OMX_DirOutput) {
|
||||||
/* Reset all flags, some implementations don't
|
/* Reset all flags, some implementations don't
|
||||||
* reset them themselves and the flags are not
|
* reset them themselves and the flags are not
|
||||||
* valid anymore after the buffer was consumed
|
* valid anymore after the buffer was consumed
|
||||||
|
|
Loading…
Reference in a new issue