[vlc-devel] [PATCH] Revert "MP4 demux: only set fragmented flag if filecontains movie fragment atoms."

Francois Cartegnie fcvlcdev at free.fr
Fri May 2 22:59:00 CEST 2014


Le 04/04/2014 11:13, Felix Abecassis a écrit :
>  
> -    if( MP4_BoxCount( p_sys->p_root, "/moov/mvex" ) > 0 &&
> -        MP4_BoxCount( p_sys->p_root, "/moof" ) > 0 )
> +    if( MP4_BoxCount( p_sys->p_root, "/moov/mvex" ) > 0 )
>      {
>          p_sys->b_fragmented = true;
>      }
> 

The test was correct but Demux code totally breaks in that case because
it stops loading chunks if mvex is present. Removing that condition will
break non seekable & smooth streaming as it would try to load content
after the first box.

Francois



More information about the vlc-devel mailing list