[vlc-devel] commit: Remove useless optimistic synchronization hack ( Rémi Denis-Courmont )
git version control
git at videolan.org
Thu Dec 4 19:54:50 CET 2008
vlc | branch: master | Rémi Denis-Courmont <rdenis at simphalempin.com> | Wed Dec 3 22:17:05 2008 +0200| [2cdda809f4b2b20d0c64a314e50ac4255cadfcfb] | committer: Rémi Denis-Courmont
Remove useless optimistic synchronization hack
We do it more properly when creating a source anyway.
> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=2cdda809f4b2b20d0c64a314e50ac4255cadfcfb
---
modules/access/rtp/session.c | 7 -------
1 files changed, 0 insertions(+), 7 deletions(-)
diff --git a/modules/access/rtp/session.c b/modules/access/rtp/session.c
index 40b3a4c..02ec61d 100644
--- a/modules/access/rtp/session.c
+++ b/modules/access/rtp/session.c
@@ -316,13 +316,6 @@ rtp_queue (demux_t *demux, rtp_session_t *session, block_t *block)
src->last_rx = now;
src->last_ts = rtp_timestamp (block);
- /* Be optimistic for the first packet. Certain codec, such as Vorbis
- * do not like loosing the first packet(s), so we cannot just wait
- * for proper sequence synchronization. And we don't want to assume that
- * the sender starts at seq=0 either. */
- if (src->blocks == NULL)
- src->max_seq = seq - p_sys->max_dropout;
-
/* Check sequence number */
/* NOTE: the sequence number is per-source,
* but is independent from the payload type. */
More information about the vlc-devel
mailing list