]> git.sesse.net Git - vlc/commitdiff
t140: fix RTP synchronization
authorPierre Ynard <linkfanel@yahoo.fr>
Wed, 19 Jan 2011 04:29:31 +0000 (05:29 +0100)
committerPierre Ynard <linkfanel@yahoo.fr>
Wed, 19 Jan 2011 04:29:31 +0000 (05:29 +0100)
modules/stream_out/rtpfmt.c

index 68dea4be06d4bb84154605ab9c80366c74de7db4..79ae441226552ef486d410b82513bf8767596edb 100644 (file)
@@ -1232,7 +1232,7 @@ static 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 );