[vlc-devel] [PATCH] libavi now support simple SEEK

Laurent Aimar fenrir at via.ecp.fr
Tue Jan 8 11:01:59 CET 2008


Hi

> Index: demux/avi/avi.c
> ===================================================================
> --- demux/avi/avi.c (revision 23826)
> +++ demux/avi/avi.c (working copy)
> @@ -255,7 +255,7 @@
>      p_sys->track    = NULL;
>      p_sys->meta     = NULL;
>  
> -    stream_Control( p_demux->s, STREAM_CAN_FASTSEEK, &p_sys->b_seekable );
> +    stream_Control( p_demux->s, STREAM_CAN_SEEK, &p_sys->b_seekable );
 That part cannot be commited.
 The avi demuxer will issue a lot of seek when fastseek is true (the worst
case is around 25 + 30 per second (25 for video, 30 for 48kHz mp3 audio)
 The AVI demuxer should be improved (the way data are read) to allow
proper AVI playback over slow seek protocol (and anyway a lot of files will
still not be readable).

-- 
fenrir



More information about the vlc-devel mailing list