[vlc-commits] transcode: keep original timestamp in audio and not calculated pts

Ilkka Ollakka git at videolan.org
Sat Nov 23 12:20:46 CET 2013


vlc | branch: master | Ilkka Ollakka <ileoo at videolan.org> | Fri Nov 22 21:59:49 2013 +0200| [7e251ae78f6d41e92ea56901a96f4674987cb8c0] | committer: Ilkka Ollakka

transcode: keep original timestamp in audio and not calculated pts

Allow audio pts fluctuate within drift limits as we calculate the drift
related to master sync time anyway.

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

 modules/stream_out/transcode/audio.c |    1 -
 1 file changed, 1 deletion(-)

diff --git a/modules/stream_out/transcode/audio.c b/modules/stream_out/transcode/audio.c
index 8358845..92a0218 100644
--- a/modules/stream_out/transcode/audio.c
+++ b/modules/stream_out/transcode/audio.c
@@ -222,7 +222,6 @@ int transcode_audio_process( sout_stream_t *p_stream,
             if( likely(p_audio_buf->i_pts != VLC_TS_INVALID ) )
                 p_sys->i_master_drift = p_audio_buf->i_pts - i_pts;
             date_Increment( &id->interpolated_pts, p_audio_buf->i_nb_samples );
-            p_audio_buf->i_pts = i_pts;
         }
 
         p_audio_buf->i_dts = p_audio_buf->i_pts;



More information about the vlc-commits mailing list