From 70b735da8264c84e299e77bf4641649c10a6b2bf Mon Sep 17 00:00:00 2001 From: =?utf8?q?Sebastian=20Dr=C3=B6ge?= Date: Tue, 15 Nov 2011 09:47:55 -0800 Subject: [PATCH] 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. --- omx/gstomx.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/omx/gstomx.c b/omx/gstomx.c index 0d059b8..9d899ef 100644 --- a/omx/gstomx.c +++ b/omx/gstomx.c @@ -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; -- 2.7.4