Commit 0e0065f2 authored by Laurent Aimar's avatar Laurent Aimar

Fixed initial timestamp value in TTA demuxer.

parent 9605c43a
...@@ -200,7 +200,7 @@ static int Demux( demux_t *p_demux ) ...@@ -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] ); p_data = stream_Block( p_demux->s, p_sys->pi_seektable[p_sys->i_currentframe] );
if( p_data == NULL ) return 0; 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++; p_sys->i_currentframe++;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment