mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-03-30 12:49:40 +00:00
omx: Improve debug output a bit
This commit is contained in:
parent
7739049df5
commit
b53c001bf2
1 changed files with 4 additions and 3 deletions
|
@ -1186,13 +1186,14 @@ gst_omx_port_set_enabled_unlocked (GstOMXPort * port, gboolean enabled)
|
|||
|
||||
if (!signalled) {
|
||||
GST_ERROR_OBJECT (comp->parent,
|
||||
"Timeout waiting for port %u to be enabled/disabled", port->index);
|
||||
"Timeout waiting for port %u to be %s", port->index,
|
||||
(enabled ? "enabled" : "disabled"));
|
||||
err = OMX_ErrorTimeout;
|
||||
gst_omx_component_set_last_error (comp, err);
|
||||
} else if (last_error != OMX_ErrorNone) {
|
||||
GST_ERROR_OBJECT (comp->parent,
|
||||
"Got error while waiting for port %u to be enabled/disabled: %d",
|
||||
port->index, err);
|
||||
"Got error while waiting for port %u to be %s: %d",
|
||||
port->index, (enabled ? "enabled" : "disabled"), err);
|
||||
err = last_error;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue