[MPlayer-dev-eng] [PATCH] XMMS inputplugin V2.0
Balatoni Denes
pnis at coder.hu
Sun Dec 22 01:07:21 CET 2002
> > Playing x.xm
> > XMMS song title='(null)' length=-1
> > Waiting for the XMMS plugin to start playback of 'x.xm'...
>
> ok after finding & changing /usr/lib hardcoded in demux_xmms_pluginenum.c
> too, i got it work. no seeking, through.
mikmod plugin can't seek
> you should add error checking (it seems it returns length==0 for
> nonseekable and -1 for error (cannot handle - no plugin))
-1 is non seekable imho (in which case seekable is set to 0) , 0 is I don't
know what.
If input_get_time returns -1 than song ends. If plugin couldn't load the file,
input_get_time will return -1, and so it will exit.
I think it should work correctly.
Denes
More information about the MPlayer-dev-eng
mailing list