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

Adrian Stutz adrian at sttz.ch
Sat Jun 27 19:36:52 CEST 2009


Hello,

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.

Greetings
Adrian
-------------- next part --------------
A non-text attachment was scrubbed...
Name: chapter_property.patch
Type: text/x-diff
Size: 1206 bytes
Desc: not available
URL: <http://lists.mplayerhq.hu/pipermail/mplayer-dev-eng/attachments/20090627/c3b2c2d7/attachment.patch>


More information about the MPlayer-dev-eng mailing list