[vlc-commits] t140: fix RTP synchronization
Pierre Ynard
git at videolan.org
Wed Jan 19 05:30:16 CET 2011
vlc | branch: master | Pierre Ynard <linkfanel at yahoo.fr> | Wed Jan 19 05:29:31 2011 +0100| [d272e598577e52364bdf349fbca97bc15219caa3] | committer: Pierre Ynard
t140: fix RTP synchronization
> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=d272e598577e52364bdf349fbca97bc15219caa3
---
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 68dea4b..79ae441 100644
--- a/modules/stream_out/rtpfmt.c
+++ b/modules/stream_out/rtpfmt.c
@@ -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 );
More information about the vlc-commits
mailing list