projects
/
platform
/
upstream
/
gstreamer.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
c1aae07
)
rtpjitterbuffer: don't calculate skew without rtptime
author
Wim Taymans
<wim.taymans@collabora.co.uk>
Thu, 26 Sep 2013 14:20:04 +0000
(16:20 +0200)
committer
Wim Taymans
<wim.taymans@collabora.co.uk>
Thu, 26 Sep 2013 14:21:33 +0000
(16:21 +0200)
Skip trying to calculate the skew when we don't have an rtptime.
It causes problems when lost packet events are placed in the jitterbuffer.
gst/rtpmanager/rtpjitterbuffer.c
patch
|
blob
|
history
diff --git
a/gst/rtpmanager/rtpjitterbuffer.c
b/gst/rtpmanager/rtpjitterbuffer.c
index
332a1f7
..
7876f05
100644
(file)
--- a/
gst/rtpmanager/rtpjitterbuffer.c
+++ b/
gst/rtpmanager/rtpjitterbuffer.c
@@
-685,6
+685,9
@@
rtp_jitter_buffer_insert (RTPJitterBuffer * jbuf, RTPJitterBufferItem * item,
dts = item->dts;
rtptime = item->rtptime;
+ if (rtptime == -1)
+ goto append;
+
/* rtp time jumps are checked for during skew calculation, but bypassed
* in other mode, so mind those here and reset jb if needed.
* Only reset if valid input time, which is likely for UDP input