[0.11] gstreamer: pad: silence probe debug a litte

Wim Taymans wtay at kemper.freedesktop.org
Fri Feb 10 03:05:37 PST 2012


Module: gstreamer
Branch: 0.11
Commit: c9a3051b3703b09a1319a67c64117f120ab47fbe
URL:    http://cgit.freedesktop.org/gstreamer/gstreamer/commit/?id=c9a3051b3703b09a1319a67c64117f120ab47fbe

Author: Wim Taymans <wim.taymans at collabora.co.uk>
Date:   Fri Feb 10 12:05:18 2012 +0100

pad: silence probe debug a litte

---

 gst/gstpad.c |   10 ++++------
 1 files changed, 4 insertions(+), 6 deletions(-)

diff --git a/gst/gstpad.c b/gst/gstpad.c
index 9f8f977..74ebfd4 100644
--- a/gst/gstpad.c
+++ b/gst/gstpad.c
@@ -2817,9 +2817,6 @@ probe_hook_marshal (GHook * hook, ProbeMarshall * data)
   GstPadProbeCallback callback;
   GstPadProbeReturn ret;
 
-  GST_CAT_LOG_OBJECT (GST_CAT_SCHEDULING, pad,
-      "hook %lu, cookie %u checking", hook->hook_id, PROBE_COOKIE (hook));
-
   /* if we have called this callback, do nothing */
   if (PROBE_COOKIE (hook) == data->cookie) {
     GST_CAT_LOG_OBJECT (GST_CAT_SCHEDULING, pad,
@@ -2849,7 +2846,8 @@ probe_hook_marshal (GHook * hook, ProbeMarshall * data)
     goto no_match;
 
   GST_CAT_LOG_OBJECT (GST_CAT_SCHEDULING, pad,
-      "hook %lu with flags 0x%08x matches", hook->hook_id, flags);
+      "hook %lu, cookie %u with flags 0x%08x matches", hook->hook_id,
+      PROBE_COOKIE (hook), flags);
 
   callback = (GstPadProbeCallback) hook->func;
   if (callback == NULL)
@@ -2891,8 +2889,8 @@ probe_hook_marshal (GHook * hook, ProbeMarshall * data)
 no_match:
   {
     GST_CAT_LOG_OBJECT (GST_CAT_SCHEDULING, pad,
-        "hook %lu with flags 0x%08x does not match %08x", hook->hook_id,
-        flags, info->type);
+        "hook %lu, cookie %u with flags 0x%08x does not match %08x",
+        hook->hook_id, PROBE_COOKIE (hook), flags, info->type);
     return;
   }
 }



More information about the gstreamer-commits mailing list