diff options
| author | Carl Hetherington <cth@carlh.net> | 2015-12-11 13:56:14 +0000 |
|---|---|---|
| committer | Carl Hetherington <cth@carlh.net> | 2015-12-11 13:56:14 +0000 |
| commit | 3afe04f24a99c95798718cc7dc992c4e636be508 (patch) | |
| tree | 478a8b7e52228f7478cf478ba8fcccda467ccc94 /src | |
| parent | 363903f0b3c93ccf526f0b218401c8e71ceeb6c5 (diff) | |
Missing specification of tcp_mct=1.
Diffstat (limited to 'src')
| -rw-r--r-- | src/j2k.cc | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -229,6 +229,7 @@ dcp::compress_j2k (shared_ptr<const OpenJPEGImage> xyz, int bandwidth, int frame } parameters.max_comp_size = parameters.max_cs_size / 1.25; parameters.tcp_numlayers = 1; + parameters.tcp_mct = 1; /* Setup the encoder parameters using the current image and user parameters */ opj_setup_encoder (encoder, ¶meters, xyz->opj_image()); |
