mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-27 20:21:24 +00:00
jitterbuffer: demote warning to debug
For TCP, it is normal that we don't have timestamps so don't WARN on it.
This commit is contained in:
parent
e5ef2db489
commit
c3de599c4f
1 changed files with 4 additions and 2 deletions
|
@ -2053,7 +2053,8 @@ calculate_jitter (GstRtpJitterBuffer * jitterbuffer, GstClockTime dts,
|
|||
/* jitter is stored in nanoseconds */
|
||||
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,
|
||||
GST_TIME_ARGS (dtsdiff), GST_TIME_ARGS (rtpdiffns), priv->clock_rate,
|
||||
GST_TIME_ARGS (diff), GST_TIME_ARGS (priv->avg_jitter));
|
||||
|
@ -2063,7 +2064,8 @@ calculate_jitter (GstRtpJitterBuffer * jitterbuffer, GstClockTime dts,
|
|||
/* ERRORS */
|
||||
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;
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue