[MPlayer-users] localization problem with ~/.mplayer/gui.conf

Ponekker Zoltan pontscho at kac.poliod.hu
Wed Jul 31 15:34:02 CEST 2002


Hm ... this snapshots working with correctly for me.


On Wed, 31 Jul 2002, Kriton Kyrimis wrote:

> [Automatic answer: RTFM (read DOCS, FAQ), also read DOCS/bugreports.html]
> In recent CVS snapshots of MPlayer, mplayer -gui crashes upon startup
> with a bunch of errors such as:
> parameter must be a floating point number or a ratio
> (numerator[:/]denominator): 0,000000
> (I just verified that this is still so with the CVS-020731-14:09-2.95.3
> snapshot.)
> I am running MPlayer under the Greek locale (el_GR), where decimal numbers
> have a decimal comma instead of a decimal point (e.g., 1,000000 instead
> of 1.000000). It would seem that MPlayer writes ~/.mplayer/gui.conf
> taking the locale into consideration, but does not take the locale into
> consideration when reading the file, thus getting confused by those
> commas.  Replacing the commas with periods allows me to bring up the
> GUI once, but then the file is overwritten with the comma version again.
> A quick work-around is to invoke mplayer using:
>   LC_ALL=en_US mplayer -gui
> which makes mplayer believe it is running under the US English locale,
> so that it does not write decimal numbers using commas.
> This has happened under both Red Hat Linux 7.3 and x86 Solaris 2.8,
> so it should be a relatively configuration-independent problem.
> --
> 	Kriton	(e-mail: kyrimis at cti.gr)
> 	      	(WWW:    http://dias.cti.gr/~kyrimis)
> -----
> "My head's killing me!"
> "You should learn self-defense."
> -----
> _______________________________________________
> RTFM!!!  http://www.MPlayerHQ.hu/DOCS
> Search:  http://www.MPlayerHQ.hu/cgi-bin/htsearch
> http://mplayerhq.hu/mailman/listinfo/mplayer-users

More information about the MPlayer-users mailing list