diff options
| author | Carl Hetherington <cth@carlh.net> | 2018-11-07 23:26:51 +0000 |
|---|---|---|
| committer | Carl Hetherington <cth@carlh.net> | 2018-11-07 23:26:51 +0000 |
| commit | 75538d19688ad8c29c5949de9bff9f044c713936 (patch) | |
| tree | f16509ab4ceb02be3e4b5cc07042cfa043003709 /src/lib/film.h | |
| parent | a3ec24ce1952a3bfd556d30b50cee79cc57436cb (diff) | |
Add button to force re-encode of J2K content.
Diffstat (limited to 'src/lib/film.h')
| -rw-r--r-- | src/lib/film.h | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/src/lib/film.h b/src/lib/film.h index 273077f8f..d251c7fcc 100644 --- a/src/lib/film.h +++ b/src/lib/film.h @@ -204,7 +204,8 @@ public: AUDIO_PROCESSOR, REEL_TYPE, REEL_LENGTH, - UPLOAD_AFTER_MAKE_DCP + UPLOAD_AFTER_MAKE_DCP, + REENCODE_J2K }; @@ -296,6 +297,10 @@ public: return _context_id; } + bool reencode_j2k () const { + return _reencode_j2k; + } + /* SET */ @@ -326,6 +331,7 @@ public: void set_reel_type (ReelType); void set_reel_length (int64_t); void set_upload_after_make_dcp (bool); + void set_reencode_j2k (bool); /** Emitted when some property has of the Film is about to change or has changed */ mutable boost::signals2::signal<void (ChangeType, Property)> Change; @@ -399,6 +405,7 @@ private: /** Desired reel length in bytes, if _reel_type == REELTYPE_BY_LENGTH */ int64_t _reel_length; bool _upload_after_make_dcp; + bool _reencode_j2k; int _state_version; |
