diff --git a/ChangeLog b/ChangeLog index 6827924416..b7cdfa9e5a 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,9 @@ +2008-10-06 Wim Taymans + + * gst-libs/gst/rtp/gstbasertpdepayload.c: + (gst_base_rtp_depayload_chain): + Improve debugging of the rtptime. + 2008-10-05 Jan Schmidt * configure.ac: diff --git a/common b/common index 1ff63d8f92..ea93f2ed58 160000 --- a/common +++ b/common @@ -1 +1 @@ -Subproject commit 1ff63d8f92c36bf207434436f4ce75f2a4ea11a4 +Subproject commit ea93f2ed580bcc19322e4c07f677eda980c821eb diff --git a/gst-libs/gst/rtp/gstbasertpdepayload.c b/gst-libs/gst/rtp/gstbasertpdepayload.c index 21dbca236d..90a1962387 100644 --- a/gst-libs/gst/rtp/gstbasertpdepayload.c +++ b/gst-libs/gst/rtp/gstbasertpdepayload.c @@ -258,6 +258,7 @@ gst_base_rtp_depayload_chain (GstPad * pad, GstBuffer * in) GstBuffer *out_buf; GstClockTime timestamp; guint16 seqnum; + guint32 rtptime; gboolean reset_seq, discont; gint gap; @@ -280,11 +281,13 @@ gst_base_rtp_depayload_chain (GstPad * pad, GstBuffer * in) priv->duration = GST_BUFFER_DURATION (in); seqnum = gst_rtp_buffer_get_seq (in); + rtptime = gst_rtp_buffer_get_timestamp (in); reset_seq = TRUE; discont = FALSE; - GST_LOG_OBJECT (filter, "discont %d, seqnum %u, timestamp %" - GST_TIME_FORMAT, priv->discont, seqnum, GST_TIME_ARGS (timestamp)); + GST_LOG_OBJECT (filter, "discont %d, seqnum %u, rtptime %u, timestamp %" + GST_TIME_FORMAT, priv->discont, seqnum, rtptime, + GST_TIME_ARGS (timestamp)); /* Check seqnum. This is a very simple check that makes sure that the seqnums * are striclty increasing, dropping anything that is out of the ordinary. We @@ -333,10 +336,6 @@ gst_base_rtp_depayload_chain (GstPad * pad, GstBuffer * in) /* let's send it out to processing */ out_buf = bclass->process (filter, in); if (out_buf) { - guint32 rtptime; - - rtptime = gst_rtp_buffer_get_timestamp (in); - /* we pass rtptime as backward compatibility, in reality, the incomming * buffer timestamp is always applied to the outgoing packet. */ ret = gst_base_rtp_depayload_push_ts (filter, rtptime, out_buf);