omx: Fix debug level for flushing in wrong state from ERROR to DEBUG
authorSebastian Dröge <sebastian.droege@collabora.co.uk>
Tue, 15 Nov 2011 17:47:55 +0000 (09:47 -0800)
committerSebastian Dröge <sebastian.droege@collabora.co.uk>
Tue, 15 Nov 2011 17:47:55 +0000 (09:47 -0800)
It's not really an error and doesn't matter at all if flush is called
when the component is not running.

omx/gstomx.c

index 0d059b8..9d899ef 100644 (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;