[MPlayer-dev-eng] [PATCH] XMMS inputplugin V2.0
Balatoni Denes
pnis at coder.hu
Sun Dec 22 01:17:59 CET 2002
> it's xmp not mikmod.
> i don't have mikmod plugin at all.
> and xmms gui can seek, only mplayer can't.
>
use xmms than :]
I will look at it tomorrow
> > -1 is non seekable imho (in which case seekable is set to 0) , 0 is I
> > don't know what.
>
> i got -1 when it didn't find plugin. now i get 0, it plays but no seeking.
> init_plugins();
> xmms_output_plugin.init();
> input_get_song_info(demuxer->stream->url,&xmms_title,&xmms_length);
> if (xmms_length<=0) demuxer->seekable=0;
> input_play(demuxer->stream->url); // this probably fails!!!
> while (xmms_channels==0) usleep(10000); // endless loop here
>
you are right, I didn't know what I was talking about
if length is 0, than it won't allow you to seek (if length<pos pos=length)
some plugins might die if you seek to far, I thought (iirc vqf plugin actually
did in one of the directions)
the endless loop I fixed know hopefully, wating for mplayer to build
Denes
More information about the MPlayer-dev-eng
mailing list