Commit 428ede60 authored by Francois Cartegnie's avatar Francois Cartegnie

demux: mp4: trex duration is already scaled

read spec and throw dice
parent a05e4de0
......@@ -3727,7 +3727,7 @@ static int MP4_frg_GetChunk( demux_t *p_demux, MP4_Box_t *p_chunk, unsigned *i_t
while( p_trex && p_trex->data.p_trex->i_track_ID != i_track_ID )
p_trex = p_trex->p_next;
if ( p_trex )
default_duration = p_trex->data.p_trex->i_default_sample_duration * p_track->i_timescale;
default_duration = p_trex->data.p_trex->i_default_sample_duration;
}
else if( p_sidx )
{
......
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