diff options
| author | Carl Hetherington <cth@carlh.net> | 2021-04-22 15:54:25 +0200 |
|---|---|---|
| committer | Carl Hetherington <cth@carlh.net> | 2021-04-22 21:52:56 +0200 |
| commit | c7917ecfce3200d807091cb64241e54066822cbf (patch) | |
| tree | 3ada341d0141af5ceda885ef101e30dc5ab2fcb8 /src/lib/dcp_video.cc | |
| parent | b8065d1e496158895352f9fc54dc5ae2419ce6a3 (diff) | |
Remove configuration option for minimum frame size.
Replace it with a fixed 16KB as per #1902.
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 ed68299bb..4a505a7e1 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 const minimum_size = Config::instance()->minimum_frame_size(); + /* This was empirically derived by a user: see #1902 */ + int const minimum_size = 16384; 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)); |
