[MPlayer-dev-eng] octal and hex surprise and perplex

Diego Biurrun diego at biurrun.de
Fri Jun 9 11:10:52 CEST 2006


On Fri, Jun 09, 2006 at 03:44:13AM -0400, Alan Curry wrote:
> 
> Rather than remove the highly useful ability to specify DVD tracks by octal
> number (which would inevitably lead to a huge debate over which _other_
> integers should be decimal-only on the command line and/or in a config file)

:)

> I suggest only the addition of a possibly helpful message which would appear
> in the middle of the insanity, like this:
> 
>   Playing dvd://08.
>   The hostname option must be an integer: 08
>   Don't start a number with zero unless you intend it to be octal
>   Struct dvd, field hostname parsing error: 08

Don't hesitate to commit.

Diego



More information about the MPlayer-dev-eng mailing list