mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-12-18 06:16:36 +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
|
@ -27,17 +27,17 @@ GST_DEBUG_CATEGORY_STATIC (stream_synchronizer_debug);
|
||||||
#define GST_CAT_DEFAULT stream_synchronizer_debug
|
#define GST_CAT_DEFAULT stream_synchronizer_debug
|
||||||
|
|
||||||
#define GST_STREAM_SYNCHRONIZER_LOCK(obj) G_STMT_START { \
|
#define GST_STREAM_SYNCHRONIZER_LOCK(obj) G_STMT_START { \
|
||||||
GST_LOG_OBJECT (obj, \
|
GST_TRACE_OBJECT (obj, \
|
||||||
"locking from thread %p", \
|
"locking from thread %p", \
|
||||||
g_thread_self ()); \
|
g_thread_self ()); \
|
||||||
g_mutex_lock (&GST_STREAM_SYNCHRONIZER_CAST(obj)->lock); \
|
g_mutex_lock (&GST_STREAM_SYNCHRONIZER_CAST(obj)->lock); \
|
||||||
GST_LOG_OBJECT (obj, \
|
GST_TRACE_OBJECT (obj, \
|
||||||
"locked from thread %p", \
|
"locked from thread %p", \
|
||||||
g_thread_self ()); \
|
g_thread_self ()); \
|
||||||
} G_STMT_END
|
} G_STMT_END
|
||||||
|
|
||||||
#define GST_STREAM_SYNCHRONIZER_UNLOCK(obj) G_STMT_START { \
|
#define GST_STREAM_SYNCHRONIZER_UNLOCK(obj) G_STMT_START { \
|
||||||
GST_LOG_OBJECT (obj, \
|
GST_TRACE_OBJECT (obj, \
|
||||||
"unlocking from thread %p", \
|
"unlocking from thread %p", \
|
||||||
g_thread_self ()); \
|
g_thread_self ()); \
|
||||||
g_mutex_unlock (&GST_STREAM_SYNCHRONIZER_CAST(obj)->lock); \
|
g_mutex_unlock (&GST_STREAM_SYNCHRONIZER_CAST(obj)->lock); \
|
||||||
|
|
Loading…
Reference in a new issue