diff options
| author | Carl Hetherington <cth@carlh.net> | 2020-08-27 20:37:32 +0000 |
|---|---|---|
| committer | Carl Hetherington <cth@carlh.net> | 2020-09-01 16:34:26 +0200 |
| commit | c04fec82d25127fafa73c3daff87bece9aa8c8e8 (patch) | |
| tree | c52e8156ac0c1a0cfe050c8722dcdd34b7321916 /src/lib/dcp_video.cc | |
| parent | 63ea8ea5fdfff1158def8c57361bcc3da21e2ad6 (diff) | |
Build fixes for Boost >= 1.73
Forward-ported-from: d1e9749ca290673639a49d693a8fe5c6557cc2de
Diffstat (limited to 'src/lib/dcp_video.cc')
| -rw-r--r-- | src/lib/dcp_video.cc | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/src/lib/dcp_video.cc b/src/lib/dcp_video.cc index d6b9d4f27..36928b3fc 100644 --- a/src/lib/dcp_video.cc +++ b/src/lib/dcp_video.cc @@ -62,6 +62,9 @@ using boost::shared_ptr; using dcp::Size; using dcp::Data; using dcp::raw_convert; +#if BOOST_VERSION >= 106100 +using namespace boost::placeholders; +#endif #define DCI_COEFFICENT (48.0 / 52.37) @@ -120,7 +123,7 @@ DCPVideo::encode_locally () { string const comment = Config::instance()->dcp_j2k_comment(); - Data enc = compress_j2k ( + Data enc = dcp::compress_j2k ( convert_to_xyz (_frame, boost::bind(&Log::dcp_log, dcpomatic_log.get(), _1, _2)), _j2k_bandwidth, _frames_per_second, |
