mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-12-25 17:50:36 +00:00
[MOVED FROM GST-P-FARSIGHT] Code clean-up and more debug output
20070329131936-65035-9d499e209e0d7a409c3aa0d1040778babf076179.gz
This commit is contained in:
parent
c950d2323c
commit
67c77c8029
1 changed files with 2 additions and 3 deletions
|
@ -288,10 +288,8 @@ gst_rtp_mux_get_buffer_ts_base (GstRTPMux * rtp_mux, GstBuffer * buffer)
|
||||||
|
|
||||||
if (value)
|
if (value)
|
||||||
ts_base = g_value_get_uint (value);
|
ts_base = g_value_get_uint (value);
|
||||||
else {
|
else
|
||||||
ts_base = 0;
|
ts_base = 0;
|
||||||
GST_DEBUG_OBJECT (rtp_mux, "no cloc-base on structure: %s", gst_structure_to_string (structure));
|
|
||||||
}
|
|
||||||
|
|
||||||
gst_caps_unref (caps);
|
gst_caps_unref (caps);
|
||||||
|
|
||||||
|
@ -450,6 +448,7 @@ gst_rtp_mux_change_state (GstElement * element, GstStateChange transition)
|
||||||
rtp_mux->ts_base = g_random_int ();
|
rtp_mux->ts_base = g_random_int ();
|
||||||
else
|
else
|
||||||
rtp_mux->ts_base = rtp_mux->ts_offset;
|
rtp_mux->ts_base = rtp_mux->ts_offset;
|
||||||
|
GST_DEBUG_OBJECT (rtp_mux, "set clock-base to %u", rtp_mux->ts_base);
|
||||||
break;
|
break;
|
||||||
case GST_STATE_CHANGE_PAUSED_TO_READY:
|
case GST_STATE_CHANGE_PAUSED_TO_READY:
|
||||||
break;
|
break;
|
||||||
|
|
Loading…
Reference in a new issue