Commit c3de599c authored by Wim Taymans's avatar Wim Taymans
Browse files

jitterbuffer: demote warning to debug

For TCP, it is normal that we don't have timestamps so don't WARN on
it.
parent e5ef2db4
...@@ -2053,7 +2053,8 @@ calculate_jitter (GstRtpJitterBuffer * jitterbuffer, GstClockTime dts, ...@@ -2053,7 +2053,8 @@ calculate_jitter (GstRtpJitterBuffer * jitterbuffer, GstClockTime dts,
/* jitter is stored in nanoseconds */ /* jitter is stored in nanoseconds */
priv->avg_jitter = (diff + (15 * priv->avg_jitter)) >> 4; priv->avg_jitter = (diff + (15 * priv->avg_jitter)) >> 4;
GST_LOG ("dtsdiff %" GST_TIME_FORMAT " rtptime %" GST_TIME_FORMAT GST_LOG_OBJECT (jitterbuffer,
"dtsdiff %" GST_TIME_FORMAT " rtptime %" GST_TIME_FORMAT
", clock-rate %d, diff %" GST_TIME_FORMAT ", jitter: %" GST_TIME_FORMAT, ", clock-rate %d, diff %" GST_TIME_FORMAT ", jitter: %" GST_TIME_FORMAT,
GST_TIME_ARGS (dtsdiff), GST_TIME_ARGS (rtpdiffns), priv->clock_rate, GST_TIME_ARGS (dtsdiff), GST_TIME_ARGS (rtpdiffns), priv->clock_rate,
GST_TIME_ARGS (diff), GST_TIME_ARGS (priv->avg_jitter)); GST_TIME_ARGS (diff), GST_TIME_ARGS (priv->avg_jitter));
...@@ -2063,7 +2064,8 @@ calculate_jitter (GstRtpJitterBuffer * jitterbuffer, GstClockTime dts, ...@@ -2063,7 +2064,8 @@ calculate_jitter (GstRtpJitterBuffer * jitterbuffer, GstClockTime dts,
/* ERRORS */ /* ERRORS */
no_time: no_time:
{ {
GST_WARNING ("no dts or no clock-rate"); GST_DEBUG_OBJECT (jitterbuffer,
"no dts or no clock-rate, can't calculate jitter");
return; return;
} }
} }
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment