GNOME Bugzilla – Bug 688935
rtpjitterbuffer not always correctly warns about resetting skew
Last modified: 2013-02-07 13:34:36 UTC
gst/rtpmanager/rtpjitterbuffer.c, near line 457: if (ABS (delta - jbuf->skew) > GST_SECOND) { GST_WARNING ("delta - skew: %" GST_TIME_FORMAT " too big, reset skew", GST_TIME_ARGS (delta - jbuf->skew)); rtp_jitter_buffer_resync (jbuf, time, gstrtptime, ext_rtptime, TRUE); send_diff = 0; delta = 0; } If (delta - jbuf->skew) < 0, the warning will print the negative time (a really big number). In my case, this actually happens. I suggest to add ABS: GST_WARNING ("delta - skew: %" GST_TIME_FORMAT " too big, reset skew", GST_TIME_ARGS (ABS (delta - jbuf->skew)));
commit ed6dfd55bb93d28fb608543deffef696c1e7b4a0 Author: Markovtsev Vadim <v.markovtsev at samsung.com> Date: Thu Feb 7 14:32:26 2013 +0100 rtpjitterbuffer: improve debug output Fixes https://bugzilla.gnome.org/show_bug.cgi?id=688935