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
This commit is contained in:
Thomas Vander Stichele 2006-08-28 23:16:33 +00:00
parent fa5a96c7e2
commit 69a9737605

View file

@ -3857,14 +3857,14 @@ gst_pad_push_event (GstPad * pad, GstEvent * event)
if (peerpad == NULL) if (peerpad == NULL)
goto not_linked; 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_ref (peerpad);
GST_OBJECT_UNLOCK (pad); GST_OBJECT_UNLOCK (pad);
result = gst_pad_send_event (peerpad, event); result = gst_pad_send_event (peerpad, event);
GST_LOG_OBJECT (pad, "sent event to peerpad %" GST_PTR_FORMAT, peerpad);
gst_object_unref (peerpad); gst_object_unref (peerpad);
GST_LOG_OBJECT (peerpad, "sent event on peerpad");
return result; return result;