#include "asset_writer.h"
#include "mxf.h"
#include "dcp_assert.h"
-#include "encryption_context.h"
+#include "crypto_context.h"
#include <asdcp/AS_DCP.h>
#include <asdcp/KM_prng.h>
* @param mxf MXF that we are writing.
* @param file File to write to.
*/
-AssetWriter::AssetWriter (MXF* mxf, boost::filesystem::path file, Standard standard)
+AssetWriter::AssetWriter (MXF* mxf, boost::filesystem::path file)
: _mxf (mxf)
, _file (file)
, _frames_written (0)
, _finalized (false)
, _started (false)
- , _encryption_context (new EncryptionContext (mxf->key(), standard))
+ , _crypto_context (new EncryptionContext (mxf->key(), mxf->standard()))
{
}