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 #519005.
This commit is contained in:
Stefan Kost 2008-03-11 10:43:32 +00:00 committed by Wim Taymans
parent e92772a7e9
commit 4e64ace712
2 changed files with 9 additions and 1 deletions

View file

@ -1,3 +1,11 @@
2008-03-11 Wim Taymans <wim.taymans@collabora.co.uk>
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 #519005.
2008-03-08 Sebastian Dröge <slomo@circular-chaos.org> 2008-03-08 Sebastian Dröge <slomo@circular-chaos.org>
Patch by: Sjoerd Simons <sjoerd at luon dot net> Patch by: Sjoerd Simons <sjoerd at luon dot net>

View file

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