dataqueue: reduce debug log spam a bit

Log locking/unlocking with TRACE debug level.
This commit is contained in:
Tim-Philipp Müller 2012-11-25 18:11:38 +00:00
parent b6c13c7557
commit e43ebd685d

View file

@ -77,11 +77,11 @@ struct _GstDataQueuePrivate
};
#define GST_DATA_QUEUE_MUTEX_LOCK(q) G_STMT_START { \
GST_CAT_LOG (data_queue_dataflow, \
GST_CAT_TRACE (data_queue_dataflow, \
"locking qlock from thread %p", \
g_thread_self ()); \
g_mutex_lock (&q->priv->qlock); \
GST_CAT_LOG (data_queue_dataflow, \
GST_CAT_TRACE (data_queue_dataflow, \
"locked qlock from thread %p", \
g_thread_self ()); \
} G_STMT_END
@ -93,7 +93,7 @@ struct _GstDataQueuePrivate
} G_STMT_END
#define GST_DATA_QUEUE_MUTEX_UNLOCK(q) G_STMT_START { \
GST_CAT_LOG (data_queue_dataflow, \
GST_CAT_TRACE (data_queue_dataflow, \
"unlocking qlock from thread %p", \
g_thread_self ()); \
g_mutex_unlock (&q->priv->qlock); \