rtpmux: Make debug print accurate
authorOlivier Crête <olivier.crete@collabora.co.uk>
Tue, 12 Aug 2008 16:47:14 +0000 (12:47 -0400)
committerTim-Philipp Müller <tim@centricular.net>
Sun, 16 Dec 2012 16:32:25 +0000 (16:32 +0000)
gst/rtpmanager/gstrtpmux.c

index 9eae4b6..5b558c1 100644 (file)
@@ -373,7 +373,7 @@ gst_rtp_mux_chain (GstPad * pad, GstBuffer * buffer)
   gst_rtp_buffer_set_ssrc (buffer, rtp_mux->current_ssrc);
   gst_rtp_mux_readjust_rtp_timestamp (rtp_mux, pad, buffer);
   GST_DEBUG_OBJECT (rtp_mux, "Pushing packet size %d, seq=%d, ts=%u",
-          GST_BUFFER_SIZE (buffer), rtp_mux->seqnum - 1);
+          GST_BUFFER_SIZE (buffer), rtp_mux->seqnum);
 
   gst_buffer_set_caps (buffer, GST_PAD_CAPS (rtp_mux->srcpad));