diff options
| author | Carl Hetherington <cth@carlh.net> | 2021-02-05 20:36:19 +0100 |
|---|---|---|
| committer | Carl Hetherington <cth@carlh.net> | 2021-02-05 20:36:54 +0100 |
| commit | ef578569611e2fa0e91bdd5a726fc0c251540e6d (patch) | |
| tree | 9732c73ffe9b8f2ec8b3bceab9ad7ee0a30f0c82 /src/lib/dcp_video.cc | |
| parent | b66b0060a8134c0d00d3df365d8835d5fbe00455 (diff) | |
Testing: add minimum frame size configuration option.v2.15.126
Diffstat (limited to 'src/lib/dcp_video.cc')
| -rw-r--r-- | src/lib/dcp_video.cc | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/lib/dcp_video.cc b/src/lib/dcp_video.cc index 1f9f76771..e1666ea75 100644 --- a/src/lib/dcp_video.cc +++ b/src/lib/dcp_video.cc @@ -128,7 +128,8 @@ DCPVideo::encode_locally () auto const comment = Config::instance()->dcp_j2k_comment(); ArrayData enc = {}; - int constexpr minimum_size = 65536; + int const minimum_size = Config::instance()->minimum_frame_size(); + LOG_GENERAL ("Using minimum frame size %1", minimum_size); auto xyz = convert_to_xyz (_frame, boost::bind(&Log::dcp_log, dcpomatic_log.get(), _1, _2)); int noise_amount = 2; |
