diff options
author | Sebastian Dröge <sebastian@centricular.com> | 2016-12-02 14:19:46 +0200 |
---|---|---|
committer | Sebastian Dröge <sebastian@centricular.com> | 2016-12-05 10:58:05 +0200 |
commit | 8e39de273815f0b39a889579e4307acf26512c8d (patch) | |
tree | eb6ce1251e00673cdef738f42257b8fad1d599d5 | |
parent | a3b78279e43f33ac1783e33188df0aa21a0bf452 (diff) | |
download | gst-libav-8e39de273815f0b39a889579e4307acf26512c8d.tar.gz |
avprotocol: Don't use GST_LOG_OBJECT() and friends on an arbitrary struct that is not a GObject
https://bugzilla.gnome.org/show_bug.cgi?id=775516
-rw-r--r-- | ext/libav/gstavprotocol.h | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/ext/libav/gstavprotocol.h b/ext/libav/gstavprotocol.h index f4b2ba8..a4d7b71 100644 --- a/ext/libav/gstavprotocol.h +++ b/ext/libav/gstavprotocol.h @@ -28,23 +28,23 @@ G_BEGIN_DECLS /* pipe protocol helpers */ #define GST_FFMPEG_PIPE_MUTEX_LOCK(m) G_STMT_START { \ - GST_LOG_OBJECT (m, "locking tlock from thread %p", g_thread_self ()); \ + GST_LOG ("locking tlock from thread %p", g_thread_self ()); \ g_mutex_lock (&m->tlock); \ - GST_LOG_OBJECT (m, "locked tlock from thread %p", g_thread_self ()); \ + GST_LOG ("locked tlock from thread %p", g_thread_self ()); \ } G_STMT_END #define GST_FFMPEG_PIPE_MUTEX_UNLOCK(m) G_STMT_START { \ - GST_LOG_OBJECT (m, "unlocking tlock from thread %p", g_thread_self ()); \ + GST_LOG ("unlocking tlock from thread %p", g_thread_self ()); \ g_mutex_unlock (&m->tlock); \ } G_STMT_END #define GST_FFMPEG_PIPE_WAIT(m) G_STMT_START { \ - GST_LOG_OBJECT (m, "thread %p waiting", g_thread_self ()); \ + GST_LOG ("thread %p waiting", g_thread_self ()); \ g_cond_wait (&m->cond, &m->tlock); \ } G_STMT_END #define GST_FFMPEG_PIPE_SIGNAL(m) G_STMT_START { \ - GST_LOG_OBJECT (m, "signalling from thread %p", g_thread_self ()); \ + GST_LOG ("signalling from thread %p", g_thread_self ()); \ g_cond_signal (&m->cond); \ } G_STMT_END |