Try to move J2K bandwidth and colour LUT to be per-film (#23).
[dcpomatic.git] / src / lib / encoder.cc
index 693bd5bc8e5baecceb779189b4a1f7e339c1a3cb..efedfcfef76e18bd30923a3ca193ac25a19a3129 100644 (file)
@@ -325,7 +325,7 @@ Encoder::process_video (shared_ptr<Image> image, bool same, boost::shared_ptr<Su
                                          new DCPVideoFrame (
                                                  image, sub, _opt->out_size, _opt->padding, _film->subtitle_offset(), _film->subtitle_scale(),
                                                  _film->scaler(), _video_frame, _film->frames_per_second(), s.second,
-                                                 Config::instance()->colour_lut_index (), Config::instance()->j2k_bandwidth (),
+                                                 _film->colour_lut(), _film->j2k_bandwidth(),
                                                  _film->log()
                                                  )
                                          ));