[vlc-devel] Re: Demux ASF plugin modification (Linux)
fenrir at via.ecp.fr
Mon Jul 25 11:55:14 CEST 2005
On Mon, Jul 25, 2005, Laurent Aimar wrote:
> On Mon, Jul 25, 2005, Steve MOREAU wrote:
> > Hello everyone,
> > Exploring VLC sources code and comparing two ASF streams (one from the
> > webcam, the other from a video streamed with another VLC instance), I
> > noticed some differences that may explain why VLC stops on stream_Peek
> > function : the length returned by stream_Size function for the webcam
> > stream is 556 (apparently the length of a standard ASF header) whereas it
> > is 0 for the VLC stream.
> > I don't know where this calue comes from (the length of the header is 327
> > in webcam stream) but 327 + 229 (value returned by stream_Peek) = 556...
> The size comes from modules/access/mms/mmsh.c (in MMSHOpen, looks
> for p_access->info.i_size ).
Woops, sorry. It comes from the http access modules, and that is the size
your webcam returns (unless there is a bug in the http code):
>  access_http access debug: stream size=556
>  main module debug: using access2 module "access_http")
This is the vlc-devel mailing-list, see http://www.videolan.org/vlc/
To unsubscribe, please read http://developers.videolan.org/lists.html
More information about the vlc-devel