diff options
| author | Carl Hetherington <cth@carlh.net> | 2024-03-02 23:22:59 +0100 |
|---|---|---|
| committer | Carl Hetherington <cth@carlh.net> | 2025-09-30 00:11:08 +0200 |
| commit | 92f8747304d7743aa62a5daac20513fa67c4bfbf (patch) | |
| tree | 8a48d49756d0ac66d2d6bfa55289fe4b88135935 | |
| parent | 6a7974afadc12c62522b72bf0521c4eea38eed10 (diff) | |
Don't limit bitrate here, as DoM takes care of it (DoM bug #1665).dcpomatic-2.5.4
| -rw-r--r-- | src/lib/openjp2/j2k.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/lib/openjp2/j2k.c b/src/lib/openjp2/j2k.c index a2014c89..559f7a3f 100644 --- a/src/lib/openjp2/j2k.c +++ b/src/lib/openjp2/j2k.c @@ -7003,11 +7003,13 @@ static void opj_j2k_set_cinema_parameters(opj_cparameters_t *parameters, "Maximum 1302083 compressed bytes @ 24fps\n" "As no rate has been given, this limit will be used.\n"); } else if (parameters->max_cs_size > OPJ_CINEMA_24_CS) { + /* opj_event_msg(p_manager, EVT_WARNING, "JPEG 2000 Profile-3 and 4 (2k/4k dc profile) requires:\n" "Maximum 1302083 compressed bytes @ 24fps\n" "-> Specified rate exceeds this limit. Rate will be forced to 1302083 bytes.\n"); parameters->max_cs_size = OPJ_CINEMA_24_CS; + */ } if (parameters->max_comp_size <= 0) { @@ -7018,11 +7020,13 @@ static void opj_j2k_set_cinema_parameters(opj_cparameters_t *parameters, "Maximum 1041666 compressed bytes @ 24fps\n" "As no rate has been given, this limit will be used.\n"); } else if (parameters->max_comp_size > OPJ_CINEMA_24_COMP) { + /* opj_event_msg(p_manager, EVT_WARNING, "JPEG 2000 Profile-3 and 4 (2k/4k dc profile) requires:\n" "Maximum 1041666 compressed bytes @ 24fps\n" "-> Specified rate exceeds this limit. Rate will be forced to 1041666 bytes.\n"); parameters->max_comp_size = OPJ_CINEMA_24_COMP; + */ } parameters->tcp_rates[0] = (OPJ_FLOAT32)(image->numcomps * image->comps[0].w * |
