mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-02-17 11:45:25 +00:00
Add clear debug logging on all the paths out of gst_omx_port_acquire_buffer()
https://bugzilla.gnome.org/show_bug.cgi?id=774600
This commit is contained in:
parent
05b137a256
commit
5d5fbcd8f6
1 changed files with 8 additions and 0 deletions
|
@ -1267,6 +1267,8 @@ retry:
|
|||
|
||||
/* Check if the port is flushing */
|
||||
if (port->flushing) {
|
||||
GST_DEBUG_OBJECT (comp->parent, "Component %s port %d is flushing",
|
||||
comp->name, port->index);
|
||||
ret = GST_OMX_ACQUIRE_BUFFER_FLUSHING;
|
||||
goto done;
|
||||
}
|
||||
|
@ -1292,6 +1294,8 @@ retry:
|
|||
/* Only if this port needs to be reconfigured too notify
|
||||
* the caller about it */
|
||||
if (port->settings_cookie != port->configured_settings_cookie) {
|
||||
GST_DEBUG_OBJECT (comp->parent,
|
||||
"Component %s port %d needs reconfiguring", comp->name, port->index);
|
||||
ret = GST_OMX_ACQUIRE_BUFFER_RECONFIGURE;
|
||||
goto done;
|
||||
}
|
||||
|
@ -1314,6 +1318,8 @@ retry:
|
|||
goto done;
|
||||
}
|
||||
|
||||
GST_DEBUG_OBJECT (comp->parent, "Component %s port %d needs reconfiguring",
|
||||
comp->name, port->index);
|
||||
ret = GST_OMX_ACQUIRE_BUFFER_RECONFIGURE;
|
||||
goto done;
|
||||
}
|
||||
|
@ -1334,6 +1340,8 @@ retry:
|
|||
GST_DEBUG_OBJECT (comp->parent, "%s output port %u is EOS but waiting "
|
||||
"in case it spits out more buffers", comp->name, port->index);
|
||||
} else {
|
||||
GST_DEBUG_OBJECT (comp->parent, "Component %s port %d signalled EOS",
|
||||
comp->name, port->index);
|
||||
ret = GST_OMX_ACQUIRE_BUFFER_EOS;
|
||||
goto done;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue