diff options
Diffstat (limited to 'src/stereo_picture_asset_writer.cc')
| -rw-r--r-- | src/stereo_picture_asset_writer.cc | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/src/stereo_picture_asset_writer.cc b/src/stereo_picture_asset_writer.cc index 6e43de10..00a738de 100644 --- a/src/stereo_picture_asset_writer.cc +++ b/src/stereo_picture_asset_writer.cc @@ -35,6 +35,7 @@ #include "exceptions.h" #include "dcp_assert.h" #include "picture_asset.h" +#include "encryption_context.h" #include <asdcp/AS_DCP.h> #include <asdcp/KM_fileio.h> @@ -87,8 +88,8 @@ StereoPictureAssetWriter::write (uint8_t* data, int size) Kumu::Result_t r = _state->mxf_writer.WriteFrame ( _state->frame_buffer, _next_eye == EYE_LEFT ? ASDCP::JP2K::SP_LEFT : ASDCP::JP2K::SP_RIGHT, - _encryption_context, - _hmac_context, + _encryption_context->encryption(), + _encryption_context->hmac(), &hash ); |
