summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorzeeshan.ali@nokia.com <zeeshan.ali@nokia.com>2007-03-29 13:19:36 +0000
committerEdward Hervey <bilboed@bilboed.com>2009-02-21 17:48:52 +0100
commit67c77c80298cdae2c018841989e989477161fc42 (patch)
tree52b48e050c2606b1eafdb94a7f261b0b97a76117
parentc950d2323ce07d7ec63d412f697ac841751ed460 (diff)
[MOVED FROM GST-P-FARSIGHT] Code clean-up and more debug output
-rw-r--r--gst/rtpmux/gstrtpmux.c5
1 files changed, 2 insertions, 3 deletions
diff --git a/gst/rtpmux/gstrtpmux.c b/gst/rtpmux/gstrtpmux.c
index 7f66b0591..b03bd6d2a 100644
--- a/gst/rtpmux/gstrtpmux.c
+++ b/gst/rtpmux/gstrtpmux.c
@@ -288,10 +288,8 @@ gst_rtp_mux_get_buffer_ts_base (GstRTPMux * rtp_mux, GstBuffer * buffer)
if (value)
ts_base = g_value_get_uint (value);
- else {
+ else
ts_base = 0;
- GST_DEBUG_OBJECT (rtp_mux, "no cloc-base on structure: %s", gst_structure_to_string (structure));
- }
gst_caps_unref (caps);
@@ -450,6 +448,7 @@ gst_rtp_mux_change_state (GstElement * element, GstStateChange transition)
rtp_mux->ts_base = g_random_int ();
else
rtp_mux->ts_base = rtp_mux->ts_offset;
+ GST_DEBUG_OBJECT (rtp_mux, "set clock-base to %u", rtp_mux->ts_base);
break;
case GST_STATE_CHANGE_PAUSED_TO_READY:
break;