Commit 0d4fd66b authored by Francois Cartegnie's avatar Francois Cartegnie

demux: mp4: really don't probe segments if not seekable

parent e4c7e797
...@@ -612,13 +612,13 @@ static int Open( vlc_object_t * p_this ) ...@@ -612,13 +612,13 @@ static int Open( vlc_object_t * p_this )
or if that file is just ready to append fragments */ or if that file is just ready to append fragments */
ProbeFragments( p_demux, false ); ProbeFragments( p_demux, false );
p_sys->b_fragmented = !!MP4_BoxCount( p_sys->p_root, "/moof" ); p_sys->b_fragmented = !!MP4_BoxCount( p_sys->p_root, "/moof" );
}
else
p_sys->b_fragmented = true;
if ( p_sys->b_fragmented && !p_sys->i_overall_duration ) if ( p_sys->b_fragmented && !p_sys->i_overall_duration )
ProbeFragments( p_demux, true ); ProbeFragments( p_demux, true );
} }
else
p_sys->b_fragmented = true;
}
if ( !p_sys->moovfragment.p_moox ) if ( !p_sys->moovfragment.p_moox )
AddFragment( p_demux, MP4_BoxGet( p_sys->p_root, "/moov" ) ); AddFragment( p_demux, MP4_BoxGet( p_sys->p_root, "/moov" ) );
......
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