From 69a9737605f9484757cc90f285ea3710d3e4e301 Mon Sep 17 00:00:00 2001 From: Thomas Vander Stichele Date: Mon, 28 Aug 2006 23:16:33 +0000 Subject: [PATCH] more logical to log the sending pad, and the pad it is sending to Original commit message from CVS: more logical to log the sending pad, and the pad it is sending to --- gst/gstpad.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/gst/gstpad.c b/gst/gstpad.c index b95c6c1752..525adfe0d8 100644 --- a/gst/gstpad.c +++ b/gst/gstpad.c @@ -3857,14 +3857,14 @@ gst_pad_push_event (GstPad * pad, GstEvent * event) if (peerpad == NULL) goto not_linked; - GST_LOG_OBJECT (peerpad, "sending event on peerpad"); + GST_LOG_OBJECT (pad, "sending event to peerpad %" GST_PTR_FORMAT, peerpad); gst_object_ref (peerpad); GST_OBJECT_UNLOCK (pad); result = gst_pad_send_event (peerpad, event); + GST_LOG_OBJECT (pad, "sent event to peerpad %" GST_PTR_FORMAT, peerpad); gst_object_unref (peerpad); - GST_LOG_OBJECT (peerpad, "sent event on peerpad"); return result;