projects
/
libdcp.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
363903f
)
Missing specification of tcp_mct=1.
author
Carl Hetherington
<cth@carlh.net>
Fri, 11 Dec 2015 13:56:14 +0000
(13:56 +0000)
committer
Carl Hetherington
<cth@carlh.net>
Fri, 11 Dec 2015 13:56:14 +0000
(13:56 +0000)
src/j2k.cc
patch
|
blob
|
history
diff --git
a/src/j2k.cc
b/src/j2k.cc
index f19b563221e922fb88aa2161aee213626aa46784..13474f51641c2b3851b423f5e3046ae8454cdc74 100644
(file)
--- a/
src/j2k.cc
+++ b/
src/j2k.cc
@@
-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());