diff options
| author | Carl Hetherington <cth@carlh.net> | 2015-01-03 23:08:27 +0000 |
|---|---|---|
| committer | Carl Hetherington <cth@carlh.net> | 2015-01-03 23:08:27 +0000 |
| commit | a5095486e606adfe36de635a48710cf98872c1c6 (patch) | |
| tree | cf7a17cb48a258473fde05593653a759ad81f633 /src/wx/colour_conversion_editor.cc | |
| parent | 4a291fd1e78c3307d6dffbbadf1bd005ed5a430b (diff) | |
Various libdcp API changes.
Diffstat (limited to 'src/wx/colour_conversion_editor.cc')
| -rw-r--r-- | src/wx/colour_conversion_editor.cc | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/wx/colour_conversion_editor.cc b/src/wx/colour_conversion_editor.cc index e11c09f17..4658716c6 100644 --- a/src/wx/colour_conversion_editor.cc +++ b/src/wx/colour_conversion_editor.cc @@ -171,6 +171,7 @@ ColourConversionEditor::get () const conversion.set_in ( shared_ptr<dcp::ModifiedGammaTransferFunction> ( new dcp::ModifiedGammaTransferFunction ( + false, _input_power->GetValue (), raw_convert<double> (wx_to_std (_input_threshold->GetValue ())), raw_convert<double> (wx_to_std (_input_A->GetValue ())), @@ -182,6 +183,7 @@ ColourConversionEditor::get () const conversion.set_in ( shared_ptr<dcp::GammaTransferFunction> ( new dcp::GammaTransferFunction ( + false, _input_gamma->GetValue () ) ) @@ -202,7 +204,7 @@ ColourConversionEditor::get () const conversion.set_matrix (matrix); - conversion.set_out (shared_ptr<dcp::GammaTransferFunction> (new dcp::GammaTransferFunction (_output_gamma->GetValue ()))); + conversion.set_out (shared_ptr<dcp::GammaTransferFunction> (new dcp::GammaTransferFunction (true, _output_gamma->GetValue ()))); return conversion; } |
