Commit 455153a8 authored by Francois Cartegnie's avatar Francois Cartegnie

demux: mp4: drop base duration

parent 8c2c3ac8
...@@ -74,7 +74,6 @@ struct demux_sys_t ...@@ -74,7 +74,6 @@ struct demux_sys_t
uint64_t i_time; /* time position of the presentation uint64_t i_time; /* time position of the presentation
* in movie timescale */ * in movie timescale */
uint32_t i_timescale; /* movie time scale */ uint32_t i_timescale; /* movie time scale */
uint64_t i_duration; /* movie duration */
unsigned int i_tracks; /* number of tracks */ unsigned int i_tracks; /* number of tracks */
mp4_track_t *track; /* array of track */ mp4_track_t *track; /* array of track */
float f_fps; /* number of frame per seconds */ float f_fps; /* number of frame per seconds */
...@@ -348,7 +347,6 @@ static int LoadInitFrag( demux_t *p_demux ) ...@@ -348,7 +347,6 @@ static int LoadInitFrag( demux_t *p_demux )
if ( p_stra && BOXDATA(p_stra) ) if ( p_stra && BOXDATA(p_stra) )
{ {
p_sys->i_timescale = BOXDATA(p_stra)->i_timescale; p_sys->i_timescale = BOXDATA(p_stra)->i_timescale;
p_sys->i_duration = BOXDATA(p_stra)->i_duration;
p_sys->i_overall_duration = BOXDATA(p_stra)->i_duration; p_sys->i_overall_duration = BOXDATA(p_stra)->i_duration;
} }
if( p_sys->i_timescale == 0 ) if( p_sys->i_timescale == 0 )
......
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