[Mplayer-cvslog] CVS: main/libmpdemux stream_file.c,NONE,1.1 stream.c,1.53,1.54 stream.h,1.58,1.59

Arpi arpi at thot.banki.hu
Wed Apr 2 18:29:50 CEST 2003


Hi,

> }
> 
> static int seek_forward(stream_t *s,off_t newpos) {
>   if(newpos<s->pos){
>     mp_msg(MSGT_STREAM,MSGL_INFO,"Cannot seek backward in linear streams!\n");
>     return 0;
>   }
>   while(s->pos<newpos){
>     if(s->fill_buffer(s,s->buffer,STREAM_BUFFER_SIZE)<=0) break; // EOF
>   }
>   return 1;
> }
> 
> static int open_f(stream_t *stream,int mode, void* opts, int* file_format) {

.

what a mess!!! :(
why don't you port the stream code from G2 preview3, and extend with your
m_config mess?


A'rpi / Astral & ESP-team

--
Developer of MPlayer, the Movie Player for Linux - http://www.MPlayerHQ.hu



More information about the MPlayer-cvslog mailing list