[MPlayer-dev-eng] [PATCH] Make getting chapter property in slave mode one-based

Reimar Döffinger Reimar.Doeffinger at gmx.de
Mon Jun 29 10:31:18 CEST 2009


On Mon, Jun 29, 2009 at 10:16:24AM +0200, Diego Biurrun wrote:
> On Sat, Jun 27, 2009 at 07:36:52PM +0200, Adrian Stutz wrote:
> > 
> > Setting the chapter property in slave mode is one-based, as is the
> > seek_chapter command.
> > Getting the property however returns a zero-based result.
> > 
> > This patch makes it so it returns a one-based result in line with the
> > other uses of the chapter number.
> > It also updates the wrong min value (0) in slave.txt to the actual min
> > (1) as defined in commands.c.
> 
> Wait, didn't we just say in another thread that things should start from
> 0?

Yes, that was "decided" after this. This patch is thus obsolete.



More information about the MPlayer-dev-eng mailing list