From bc510bf9b83362af6fcef50be27bc6001b3071ac Mon Sep 17 00:00:00 2001 From: Thomas Vander Stichele Date: Tue, 2 May 2006 06:33:54 +0000 Subject: [PATCH] some RTP debug Original commit message from CVS: some RTP debug --- gst-libs/gst/rtp/gstbasertppayload.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/gst-libs/gst/rtp/gstbasertppayload.c b/gst-libs/gst/rtp/gstbasertppayload.c index 0e49fa2c58..80c3683c4e 100644 --- a/gst-libs/gst/rtp/gstbasertppayload.c +++ b/gst-libs/gst/rtp/gstbasertppayload.c @@ -381,6 +381,7 @@ gst_basertppayload_push (GstBaseRTPPayload * payload, GstBuffer * buffer) /* update first, so that the property is set to the last * seqnum pushed */ payload->seqnum++; + GST_LOG_OBJECT (payload, "setting RTP seqnum %d", payload->seqnum); gst_rtp_buffer_set_seq (buffer, payload->seqnum); /* add our random offset to the timestamp */ @@ -397,6 +398,7 @@ gst_basertppayload_push (GstBaseRTPPayload * payload, GstBuffer * buffer) ts += rtime; } + GST_LOG_OBJECT (payload, "setting RTP timestamp %d", ts); gst_rtp_buffer_set_timestamp (buffer, ts); payload->timestamp = ts;