From: Øyvind Kolås Date: Thu, 30 Aug 2018 11:21:02 +0000 (+0200) Subject: babl: switch behavior of reference precision enum X-Git-Tag: archive/raspbian/1%0.1.106-3+rpi1^2~15^2~14^2~13 X-Git-Url: https://dgit.raspbian.org/?a=commitdiff_plain;h=8c5f8176c0eccadc646bdc1c44a89dc2c5593dd3;p=babl.git babl: switch behavior of reference precision enum It is now called BABL_REFERENCE_NOFLOAT and if set babl is not using the generic mechanism to synthesize many possible float<->float conversions. --- diff --git a/babl/babl-fish-reference.c b/babl/babl-fish-reference.c index 0dd2824..35b9d95 100644 --- a/babl/babl-fish-reference.c +++ b/babl/babl-fish-reference.c @@ -714,7 +714,7 @@ babl_fish_reference_process (const Babl *babl, static int allow_float_reference = -1; if (allow_float_reference == -1) - allow_float_reference = getenv ("BABL_REFERENCE_FLOAT") ? 1 : 0; + allow_float_reference = getenv ("BABL_REFERENCE_NOFLOAT") ? 0 : 1; if ((BABL (babl->fish.source)->format.model == BABL (babl->fish.destination)->format.model) &&