At least log a message to the debug log when generating
a GST_FLOW_ERROR, to make it possible to find where it came from.
}
break;
}
- if (ret == FALSE)
+ if (ret == FALSE) {
+ GST_ERROR_OBJECT (queue, "Failed to push event");
return GST_FLOW_ERROR;
+ }
return GST_FLOW_OK;
/* ERRORS */
/* ERRORS */
no_item:
{
- GST_CAT_LOG_OBJECT (queue_dataflow, queue,
+ GST_CAT_ERROR_OBJECT (queue_dataflow, queue,
"exit because we have no item in the queue");
return GST_FLOW_ERROR;
}