Typo causing wrong matrix to be used for Rec. 709.
authorCarl Hetherington <cth@carlh.net>
Tue, 17 Feb 2015 19:42:22 +0000 (19:42 +0000)
committerCarl Hetherington <cth@carlh.net>
Tue, 17 Feb 2015 19:42:22 +0000 (19:42 +0000)
src/colour_conversion.cc

index 5a2b1fd5b8e74da446a3aa6b4eee71aee2f779d9..8a64c89bf9b2340ddfbe08b112d353b4855f6017 100644 (file)
@@ -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;