mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-24 02:31:03 +00:00
streamsynchronizer: reduce debug log spam a bit
Log locking/unlocking with TRACE debug level.
This commit is contained in:
parent
5237692de6
commit
601aabdf9c
1 changed files with 6 additions and 6 deletions
|
@ -26,18 +26,18 @@
|
|||
GST_DEBUG_CATEGORY_STATIC (stream_synchronizer_debug);
|
||||
#define GST_CAT_DEFAULT stream_synchronizer_debug
|
||||
|
||||
#define GST_STREAM_SYNCHRONIZER_LOCK(obj) G_STMT_START { \
|
||||
GST_LOG_OBJECT (obj, \
|
||||
#define GST_STREAM_SYNCHRONIZER_LOCK(obj) G_STMT_START { \
|
||||
GST_TRACE_OBJECT (obj, \
|
||||
"locking from thread %p", \
|
||||
g_thread_self ()); \
|
||||
g_mutex_lock (&GST_STREAM_SYNCHRONIZER_CAST(obj)->lock); \
|
||||
GST_LOG_OBJECT (obj, \
|
||||
g_mutex_lock (&GST_STREAM_SYNCHRONIZER_CAST(obj)->lock); \
|
||||
GST_TRACE_OBJECT (obj, \
|
||||
"locked from thread %p", \
|
||||
g_thread_self ()); \
|
||||
} G_STMT_END
|
||||
|
||||
#define GST_STREAM_SYNCHRONIZER_UNLOCK(obj) G_STMT_START { \
|
||||
GST_LOG_OBJECT (obj, \
|
||||
#define GST_STREAM_SYNCHRONIZER_UNLOCK(obj) G_STMT_START { \
|
||||
GST_TRACE_OBJECT (obj, \
|
||||
"unlocking from thread %p", \
|
||||
g_thread_self ()); \
|
||||
g_mutex_unlock (&GST_STREAM_SYNCHRONIZER_CAST(obj)->lock); \
|
||||
|
|
Loading…
Reference in a new issue