summaryrefslogtreecommitdiffstats
path: root/gst
diff options
context:
space:
mode:
authorWim Taymans <wim.taymans@collabora.co.uk>2009-07-27 15:46:23 +0200
committerWim Taymans <wim.taymans@collabora.co.uk>2009-07-27 15:49:54 +0200
commitffe90f81a4d1f9e123c269895bb97446b9d0f3c2 (patch)
treedbed7255b6444af5b838a72b70d2eea97089cc89 /gst
parentb3b96c3063b92253a67f8ea8263faf1b1bf5945b (diff)
downloadgst-plugins-bad-ffe90f81a4d1f9e123c269895bb97446b9d0f3c2.tar.gz
gst-plugins-bad-ffe90f81a4d1f9e123c269895bb97446b9d0f3c2.tar.bz2
gst-plugins-bad-ffe90f81a4d1f9e123c269895bb97446b9d0f3c2.zip
rtpsession: avoid doing lip-sync in BYE
When we get a BYE packet, don't do lip-sync with the SR inside because some senders have trouble constructing valid SR packets after BYE.
Diffstat (limited to 'gst')
-rw-r--r--gst/rtpmanager/rtpsession.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/gst/rtpmanager/rtpsession.c b/gst/rtpmanager/rtpsession.c
index 9d73d51d..3e17ec12 100644
--- a/gst/rtpmanager/rtpsession.c
+++ b/gst/rtpmanager/rtpsession.c
@@ -1869,6 +1869,8 @@ rtp_session_process_rtcp (RTPSession * sess, GstBuffer * buffer,
break;
case GST_RTCP_TYPE_BYE:
is_bye = TRUE;
+ /* don't try to attempt lip-sync anymore for streams with a BYE */
+ do_sync = FALSE;
rtp_session_process_bye (sess, &packet, &arrival);
break;
case GST_RTCP_TYPE_APP: