[vlc-devel] commit: Fixed initial timestamp value in TTA demuxer. (Laurent Aimar )

git version control git at videolan.org
Mon Dec 21 00:02:38 CET 2009


vlc | branch: master | Laurent Aimar <fenrir at videolan.org> | Sun Dec 20 21:57:16 2009 +0100| [0e0065f229596e791897c6c53c7d9053134a65b2] | committer: Laurent Aimar 

Fixed initial timestamp value in TTA demuxer.

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

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

diff --git a/modules/demux/tta.c b/modules/demux/tta.c
index dd32597..b0c53bb 100644
--- a/modules/demux/tta.c
+++ b/modules/demux/tta.c
@@ -200,7 +200,7 @@ static int Demux( demux_t *p_demux )
 
     p_data = stream_Block( p_demux->s, p_sys->pi_seektable[p_sys->i_currentframe] );
     if( p_data == NULL ) return 0;
-    p_data->i_dts = p_data->i_pts = (int64_t)(1 + INT64_C(1000000) * p_sys->i_currentframe) * TTA_FRAMETIME;
+    p_data->i_dts = p_data->i_pts = VLC_TS_0 + (int64_t)(INT64_C(1000000) * p_sys->i_currentframe) * TTA_FRAMETIME;
 
     p_sys->i_currentframe++;
 




More information about the vlc-devel mailing list