summaryrefslogtreecommitdiff
path: root/src/asset_writer.cc
diff options
context:
space:
mode:
Diffstat (limited to 'src/asset_writer.cc')
-rw-r--r--src/asset_writer.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/asset_writer.cc b/src/asset_writer.cc
index c4302f4a..055f2844 100644
--- a/src/asset_writer.cc
+++ b/src/asset_writer.cc
@@ -48,13 +48,13 @@ using namespace dcp;
* @param mxf MXF that we are writing.
* @param file File to write to.
*/
-AssetWriter::AssetWriter (MXF* mxf, boost::filesystem::path file)
+AssetWriter::AssetWriter (MXF* mxf, boost::filesystem::path file, bool write_hmac)
: _mxf (mxf)
, _file (file)
, _frames_written (0)
, _finalized (false)
, _started (false)
- , _crypto_context (new EncryptionContext (mxf->key(), mxf->standard()))
+ , _crypto_context (new EncryptionContext(mxf->key(), mxf->standard(), write_hmac))
{
}