[vlc-commits] t140: fix RTP synchronization

Pierre Ynard git at videolan.org
Wed Jan 19 05:36:19 CET 2011


vlc/vlc-1.1 | branch: master | Pierre Ynard <linkfanel at yahoo.fr> | Wed Jan 19 05:29:31 2011 +0100| [d6a88026ff7588010ba9ffb685051a1745c2442d] | committer: Pierre Ynard

t140: fix RTP synchronization
(cherry picked from commit d272e598577e52364bdf349fbca97bc15219caa3)

Signed-off-by: Pierre Ynard <linkfanel at yahoo.fr>

> http://git.videolan.org/gitweb.cgi/vlc/vlc-1.1.git/?a=commit;h=d6a88026ff7588010ba9ffb685051a1745c2442d
---

 modules/stream_out/rtpfmt.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/modules/stream_out/rtpfmt.c b/modules/stream_out/rtpfmt.c
index 482db7d..ff498ed 100644
--- a/modules/stream_out/rtpfmt.c
+++ b/modules/stream_out/rtpfmt.c
@@ -610,7 +610,7 @@ int rtp_packetize_t140( sout_stream_id_t *id, block_t *in )
         memcpy( out->p_buffer + 12, p_data, i_payload );
 
         out->i_buffer = 12 + i_payload;
-        out->i_dts    = out->i_pts;
+        out->i_dts    = in->i_pts;
         out->i_length = 0;
 
         rtp_packetize_send( id, out );



More information about the vlc-commits mailing list