gst/rtpmanager/rtpjitterbuffer.c: Don't try to reset the clock skew when we have no timestamps.

Original commit message from CVS:
Patch by: Stefan Kost <ensonic@users.sf.net>
* gst/rtpmanager/rtpjitterbuffer.c: (calculate_skew):
Don't try to reset the clock skew when we have no timestamps.
Fixes .
This commit is contained in:
Stefan Kost 2008-03-11 10:43:32 +00:00 committed by Tim-Philipp Müller
parent db8bdc8b92
commit 52cdd3c59a

View file

@ -208,7 +208,7 @@ again:
GST_TIME_ARGS (gstrtptime), GST_TIME_ARGS (jbuf->base_rtptime),
GST_TIME_ARGS (send_diff));
if (jbuf->prev_send_diff != -1) {
if (jbuf->prev_send_diff != -1 && time != -1) {
gint64 delta_diff;
if (send_diff > jbuf->prev_send_diff)