summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorCarl Hetherington <cth@carlh.net>2015-02-17 19:42:22 +0000
committerCarl Hetherington <cth@carlh.net>2015-02-17 19:42:22 +0000
commit1e7e40ffb6e3632b65adb8372dc073106e3d4023 (patch)
tree4f20517c952651b8418751157fdcfa6aa0d2dae9 /src
parentdf471037a1b1937725ef1cf13e98b58723f5960e (diff)
Typo causing wrong matrix to be used for Rec. 709.
Diffstat (limited to 'src')
-rw-r--r--src/colour_conversion.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/colour_conversion.cc b/src/colour_conversion.cc
index 5a2b1fd5..8a64c89b 100644
--- a/src/colour_conversion.cc
+++ b/src/colour_conversion.cc
@@ -52,7 +52,7 @@ ColourConversion::rec709_to_xyz ()
{
static ColourConversion* c = new ColourConversion (
shared_ptr<const TransferFunction> (new ModifiedGammaTransferFunction (false, 2.4, 0.081, 0.099, 4.5)),
- dcp::colour_matrix::srgb_to_xyz,
+ dcp::colour_matrix::rec709_to_xyz,
shared_ptr<const TransferFunction> (new GammaTransferFunction (true, 2.6))
);
return *c;