omx: Fix debug level for flushing in wrong state from ERROR to DEBUG

It's not really an error and doesn't matter at all if flush is called
when the component is not running.
This commit is contained in:
Sebastian Dröge 2011-11-15 09:47:55 -08:00
parent 1b58fa487e
commit 70b735da82

View file

@ -1117,7 +1117,7 @@ gst_omx_port_set_flushing (GstOMXPort * port, gboolean flush)
g_mutex_lock (comp->state_lock);
if (comp->state != OMX_StateIdle && comp->state != OMX_StateExecuting) {
GST_ERROR_OBJECT (comp->parent, "Component is in wrong state: %d",
GST_DEBUG_OBJECT (comp->parent, "Component is in wrong state: %d",
comp->state);
err = OMX_ErrorUndefined;