From 6a7be5363b61ae88d1553ee8b8a15a54a6e9f2b2 Mon Sep 17 00:00:00 2001 From: John Evans Date: Mon, 12 May 2014 06:34:32 -0400 Subject: [PATCH] Cinema parameters were incorrectly specified for 2.0.1 #234 --- glymur/jp2k.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/glymur/jp2k.py b/glymur/jp2k.py index a9e6ab2..6bab50b 100644 --- a/glymur/jp2k.py +++ b/glymur/jp2k.py @@ -180,9 +180,9 @@ class Jp2k(Jp2kBox): if re.match("2.0", version.openjpeg_version) is not None: # 2.0 API if fps == 24: - cparams.cp_cinema = core.OPJ_CINEMA_2K_24 + cparams.cp_cinema = core.OPJ_CINEMA2K_24 else: - cparams.cp_cinema = core.OPJ_CINEMA_2K_48 + cparams.cp_cinema = core.OPJ_CINEMA2K_48 else: # 2.1 API if fps == 24: @@ -198,7 +198,7 @@ class Jp2k(Jp2kBox): # cinema4k if re.match("2.0", version.openjpeg_version) is not None: # 2.0 API - cparams.cp_cinema = core.OPJ_CINEMA_4K_24 + cparams.cp_cinema = core.OPJ_CINEMA4K_24 else: # 2.1 API cparams.rsiz = core.OPJ_PROFILE_CINEMA_4K