Saving input stream to disk

Christophe Massiot massiot at
Thu Jul 18 22:54:50 CEST 2002

À (At) 16:49 -0400 18/07/2002, Bryan Mo écrivait (wrote) :

>I've made the changes to input_FillBuffer(). However, when I play 
>back a file from the hard disk, it saves the file twice. That is, I 
>get a file that is twice the size as the original with the original 
>stream saved twice. When vlc reads in the file initially, does it 
>call input_FillBuffer to buffer the file and calls input_FillBuffer 
>again when it is decoding it?

When possible, VLC preparses the 1st MB of the file to gather 
information. Have a look at plugins/mpeg_system/mpeg_ps.c

Christophe Massiot.

This is the vlc-devel mailing-list, see
To unsubscribe, please read
If you are in trouble, please contact <postmaster at>

More information about the vlc-devel mailing list