Saving input stream to disk

Christophe Massiot massiot at via.ecp.fr
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 http://www.videolan.org/vlc/
To unsubscribe, please read http://www.videolan.org/lists.html
If you are in trouble, please contact <postmaster at videolan.org>



More information about the vlc-devel mailing list