When my locale is set to french (fr_FR@euro) I get this
message:
Argument "\x{30}\x{2c}..." isn't numeric in numeric lt
(<) at /usr/share/perl5/AcidRip/signals.pm line 188.
It's ok if I use no locale. It looks like $bpp is
formatted according to the locale and therefore
contains a comma instead of a dot with the french locale.
Logged In: YES
user_id=136855
I've found the root of the problem: in set_bpp, you use
sprintf to format bpp.
You should set the locale to C like this:
my $old_locale = setlocale(LC_NUMERIC);
setlocale(LC_NUMERIC,"C");
$bpp = sprintf( "%.3f", ( $br * 1000 ) / ( $hs * $ws * $fps
) ) if $ws * $hs;
setlocale(LC_NUMERIC,$old_locale);
Logged In: YES
user_id=20299
give him a patch - it might work better... ;)