[MPlayer-dev-eng] Re: Slave Mode Protocol seek command
Diego Biurrun
diego at biurrun.de
Fri Nov 7 12:58:39 CET 2003
Alban Bedel writes:
> Hi Konstantinos Karydas,
> on Fri, 7 Nov 2003 11:06:33 +0200 you wrote:
> > > All I could find in the docs was this:
> > >
> > > seek <value> [type=<0/\:1/\:2>]
> > > Seek to some place in the movie.
> > > Type 0 is a relative seek of +/\:- <value> seconds.
> > > Type 1 seek to <value> % in the movie.
> > > Type 2 is a seek to an absolute position of <value> seconds.
> > >
> > > Now, seek type 0 is the only one that seems to work correctly.
> > >
> > > Running a command such as "seek +10 type=0" works correctly
> > > but nothing else. Every time I perform a seek of type 1 it seems to
> > > behave as type 0; also for type 2.
>
> try "seek +10 1" or "seek 10 2"
>
> The name like type= in the docs are only used as reference. So one
> can easily guess what this argument do. However the command sent should
> only contain the argument values separated by spaces.
> The doc should probably be looked at by a specialist to at least make
> this clear.
No need for a specialist here, the documentation is simply wrong, the
right entry would be
seek <value> [0|1|2]
Seek to some place in the movie.
0 is a relative seek of +/- <value> seconds.
1 seek to <value> % in the movie.
2 is a seek to an absolute position of <value> seconds.
if the second parameter is optional. Is this correct?
Diego
More information about the MPlayer-dev-eng
mailing list