+2008-10-06 Wim Taymans <wim.taymans@collabora.co.uk>
+
+ * gst-libs/gst/rtp/gstbasertpdepayload.c:
+ (gst_base_rtp_depayload_chain):
+ Improve debugging of the rtptime.
+
2008-10-05 Jan Schmidt <jan.schmidt@sun.com>
* configure.ac:
GstBuffer *out_buf;
GstClockTime timestamp;
guint16 seqnum;
+ guint32 rtptime;
gboolean reset_seq, discont;
gint gap;
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
/* 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);