[vlc-commits] commit: rtp sout: fix reporting of sequence number when using SRTP ( Pierre Ynard )
git at videolan.org
git at videolan.org
Tue May 25 17:54:02 CEST 2010
vlc | branch: master | Pierre Ynard <linkfanel at yahoo.fr> | Tue May 25 17:52:39 2010 +0200| [0b01c67ef5204d352701f15617b69859f4dcfaa0] | committer: Pierre Ynard
rtp sout: fix reporting of sequence number when using SRTP
> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=0b01c67ef5204d352701f15617b69859f4dcfaa0
---
modules/stream_out/rtp.c | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/modules/stream_out/rtp.c b/modules/stream_out/rtp.c
index 2199469..4f3eb33 100644
--- a/modules/stream_out/rtp.c
+++ b/modules/stream_out/rtp.c
@@ -954,8 +954,6 @@ static sout_stream_id_t *Add( sout_stream_t *p_stream, es_format_t *p_fmt )
vlc_rand_bytes (&id->i_sequence, sizeof (id->i_sequence));
vlc_rand_bytes (id->ssrc, sizeof (id->ssrc));
- id->i_seq_sent_next = id->i_sequence;
-
id->psz_enc = NULL;
id->psz_fmtp = NULL;
id->i_clock_rate = 90000; /* most common case for video */
@@ -1022,6 +1020,8 @@ static sout_stream_id_t *Add( sout_stream_t *p_stream, es_format_t *p_fmt )
}
#endif
+ id->i_seq_sent_next = id->i_sequence;
+
if( p_sys->psz_destination != NULL )
{
int type = SOCK_STREAM;
More information about the vlc-commits
mailing list