X-Git-Url: https://git.carlh.net/gitweb/?a=blobdiff_plain;f=src%2Flib%2Futil.cc;h=1478bab2e52dca65bab8631e59f3cd3cae6a1c9b;hb=894f567beaabb43cf96651e61c29d04f3e02ae50;hp=1ab8c1e65b53fd82946a5868d9d5ddc8f84d532f;hpb=bd540e569b65e4949aac80b988bfa421a0be90e6;p=dcpomatic.git diff --git a/src/lib/util.cc b/src/lib/util.cc index 1ab8c1e65..1478bab2e 100644 --- a/src/lib/util.cc +++ b/src/lib/util.cc @@ -503,3 +503,20 @@ bool operator!= (Crop const & a, Crop const & b) { return !(a == b); } + +string +colour_lut_index_to_name (int index) +{ + switch (index) { + case 0: + return "sRGB"; + case 1: + return "Rec 709"; + } + + assert (false); + return ""; +} + + +