diff options
| author | Carl Hetherington <cth@carlh.net> | 2020-08-27 20:37:32 +0000 |
|---|---|---|
| committer | Carl Hetherington <cth@carlh.net> | 2020-08-31 14:21:49 +0200 |
| commit | 3e20b106388c0ba4a291cb15968a10c6fbd5b367 (patch) | |
| tree | 7cb6dd24de47ba7cb02b9d8c47f229af7cedd4a0 /src/lib/dcp_video.cc | |
| parent | 7c5e4e6b7a29db93184a57076d05193a8360561d (diff) | |
Build fixes for Boost >= 1.73new-boost-fixes
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 6f32b6686..6111c3e14 100644 --- a/src/lib/dcp_video.cc +++ b/src/lib/dcp_video.cc @@ -59,6 +59,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) @@ -115,7 +118,7 @@ DCPVideo::convert_to_xyz (shared_ptr<const PlayerVideo> frame, dcp::NoteHandler Data DCPVideo::encode_locally () { - 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, |
