[MPlayer-dev-eng] network streaming layer updated.
Bertrand Baudet
bertrand_baudet at yahoo.com
Wed Nov 21 00:24:10 CET 2001
On Tuesday 20 November 2001 03:19 pm, you wrote:
> > now, at stream layer 'plugins' should implement read (stream_fill_buffer)
> > and seek (stream_seek_long) functions and of course open/close (in
> > open.c). they are handled in single functions, using if() or switch()
> > just to avoid duplicating very similar code. you can notice that most of
> > teh code is the same, just a few lines differs depending on read or ioctl
> > is used etc. i don't much sense of using function pointers here.
>
> Ok, the same that is the same can be on a default function that any of the
> 'plugins' can point on it if they have nothing special to do.
Hummm, I really need to reread myself, it should be:
Ok, the code that is the same can be on a default function that any of the
'plugins' can point on it if they have nothing special to do.
Bertrand
More information about the MPlayer-dev-eng
mailing list