babl: adjust search depth for fishes in first pass
authorØyvind Kolås <pippin@gimp.org>
Fri, 15 May 2020 00:56:46 +0000 (02:56 +0200)
committerØyvind Kolås <pippin@gimp.org>
Sat, 16 May 2020 12:19:27 +0000 (14:19 +0200)
commit51437f216dbbef80f9bf661dd152452083119349
tree9b131fceeab1f54ee20d190abd86c3603b3a1bf5
parent411dae60ae1c564090fa7c6a3943550ec1f1d1be
babl: adjust search depth for fishes in first pass

Search first only to a depth of 2, and accept the fastest found if any
faster than reference is found, if not search to depth 5. We lose out in
the unlikely to be frequent cases where 2-step babl fishes exist and a 3
step fish is faster. And gain the fishes where 4 step is faster than 3
(which was the old first pass search depth).
babl/babl-fish-path.c