[MOVED FROM GST-P-FARSIGHT] Code clean-up and more debug output
authorzeeshan.ali@nokia.com <zeeshan.ali@nokia.com>
Thu, 29 Mar 2007 13:19:36 +0000 (13:19 +0000)
committerEdward Hervey <bilboed@bilboed.com>
Sat, 21 Feb 2009 16:48:52 +0000 (17:48 +0100)
20070329131936-65035-9d499e209e0d7a409c3aa0d1040778babf076179.gz

gst/rtpmux/gstrtpmux.c

index 7f66b0591096c086dd24123ca96421a211b52786..b03bd6d2a652bdb72b6759b3ba3805d39fdf27a2 100644 (file)
@@ -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;