summaryrefslogtreecommitdiffstats
path: root/gst
diff options
context:
space:
mode:
authorOlivier CrĂȘte <olivier.crete@collabora.co.uk>2008-08-12 12:48:02 -0400
committerEdward Hervey <bilboed@bilboed.com>2009-02-21 17:48:55 +0100
commit9609426eda2d87f245e94788a043bae5ca0ab49a (patch)
tree234c285fbba6551f8ba33767efd0a3265d31d317 /gst
parent95ea8a98fb1c07347decc7f8230f2bff15a81db3 (diff)
downloadgst-plugins-bad-9609426eda2d87f245e94788a043bae5ca0ab49a.tar.gz
gst-plugins-bad-9609426eda2d87f245e94788a043bae5ca0ab49a.tar.bz2
gst-plugins-bad-9609426eda2d87f245e94788a043bae5ca0ab49a.zip
[MOVED FROM GST-P-FARSIGHT] Put per-buffer debug at level LOG
Diffstat (limited to 'gst')
-rw-r--r--gst/rtpmux/gstrtpmux.c9
1 files changed, 4 insertions, 5 deletions
diff --git a/gst/rtpmux/gstrtpmux.c b/gst/rtpmux/gstrtpmux.c
index 5b558c13..01e0e0f7 100644
--- a/gst/rtpmux/gstrtpmux.c
+++ b/gst/rtpmux/gstrtpmux.c
@@ -352,8 +352,8 @@ gst_rtp_mux_readjust_rtp_timestamp (GstRTPMux * rtp_mux, GstPad * pad,
sink_ts_base = padpriv->clock_base;
ts = gst_rtp_buffer_get_timestamp (buffer) - sink_ts_base + rtp_mux->ts_base;
- GST_DEBUG_OBJECT (rtp_mux, "Re-adjusting RTP ts %u to %u",
- gst_rtp_buffer_get_timestamp (buffer), ts);
+ GST_LOG_OBJECT (rtp_mux, "Re-adjusting RTP ts %u to %u",
+ gst_rtp_buffer_get_timestamp (buffer), ts);
gst_rtp_buffer_set_timestamp (buffer, ts);
}
@@ -368,12 +368,11 @@ gst_rtp_mux_chain (GstPad * pad, GstBuffer * buffer)
buffer = gst_buffer_make_writable(buffer);
rtp_mux->seqnum++;
- GST_LOG_OBJECT (rtp_mux, "setting RTP seqnum %d", rtp_mux->seqnum);
gst_rtp_buffer_set_seq (buffer, rtp_mux->seqnum);
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);
+ GST_LOG_OBJECT (rtp_mux, "Pushing packet size %d, seq=%d, ts=%u",
+ GST_BUFFER_SIZE (buffer), rtp_mux->seqnum);
gst_buffer_set_caps (buffer, GST_PAD_CAPS (rtp_mux->srcpad));