diff options
author | Tim-Philipp Müller <tim.muller@collabora.co.uk> | 2012-03-08 16:30:49 +0000 |
---|---|---|
committer | Tim-Philipp Müller <tim.muller@collabora.co.uk> | 2012-03-08 16:30:49 +0000 |
commit | 4d2adb0249d3a339284c1cb601b1fb60e45e03bf (patch) | |
tree | 36cbc1f81afcdac536fb80074c9c58d87ede0980 /gst/gsttask.c | |
parent | c683e39429429b457df62f50d14ac875dcd92e98 (diff) | |
download | gstreamer-4d2adb0249d3a339284c1cb601b1fb60e45e03bf.tar.gz |
pad, task: improve debug logging
Diffstat (limited to 'gst/gsttask.c')
-rw-r--r-- | gst/gsttask.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/gst/gsttask.c b/gst/gsttask.c index 4aae349c58..1f72e923d4 100644 --- a/gst/gsttask.c +++ b/gst/gsttask.c @@ -306,7 +306,8 @@ gst_task_func (GstTask * task) t = g_static_rec_mutex_unlock_full (lock); if (t <= 0) { - g_warning ("wrong STREAM_LOCK count %d", t); + g_warning ("wrong STREAM_LOCK count %d for lock %p on task %p", t, + lock, task); } GST_TASK_SIGNAL (task); GST_TASK_WAIT (task); @@ -443,6 +444,7 @@ gst_task_set_lock (GstTask * task, GStaticRecMutex * mutex) GST_OBJECT_LOCK (task); if (G_UNLIKELY (task->running)) goto is_running; + GST_INFO ("setting stream lock %p on task %p", mutex, task); GST_TASK_GET_LOCK (task) = mutex; GST_OBJECT_UNLOCK (task); |