mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-04-26 05:16:13 +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) {
|
if (!signalled) {
|
||||||
GST_ERROR_OBJECT (comp->parent,
|
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;
|
err = OMX_ErrorTimeout;
|
||||||
gst_omx_component_set_last_error (comp, err);
|
gst_omx_component_set_last_error (comp, err);
|
||||||
} else if (last_error != OMX_ErrorNone) {
|
} else if (last_error != OMX_ErrorNone) {
|
||||||
GST_ERROR_OBJECT (comp->parent,
|
GST_ERROR_OBJECT (comp->parent,
|
||||||
"Got error while waiting for port %u to be enabled/disabled: %d",
|
"Got error while waiting for port %u to be %s: %d",
|
||||||
port->index, err);
|
port->index, (enabled ? "enabled" : "disabled"), err);
|
||||||
err = last_error;
|
err = last_error;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue