/*
- Copyright (C) 2012-2014 Carl Hetherington <cth@carlh.net>
+ Copyright (C) 2012-2021 Carl Hetherington <cth@carlh.net>
This file is part of libdcp.
files in the program, then also delete it here.
*/
-/** @file src/asset.cc
- * @brief Parent class for assets of DCPs made up of MXF files.
+
+/** @file src/mxf.cc
+ * @brief MXF class
*/
+
#include "raw_convert.h"
#include "mxf.h"
#include "util.h"
#include <boost/filesystem.hpp>
#include <iostream>
+
using std::string;
using std::cout;
using std::list;
using std::dynamic_pointer_cast;
using namespace dcp;
+
MXF::MXF ()
: _context_id (make_uuid ())
{
*/
}
+
MXF::MXF (Standard standard)
: _context_id (make_uuid ())
, _standard (standard)
}
+
void
MXF::fill_writer_info (ASDCP::WriterInfo* writer_info, string id) const
{
}
}
-/** Set the (private) key that will be used to encrypt or decrypt this MXF's content.
- * This is the top-secret key that is distributed (itself encrypted) to cinemas
- * via Key Delivery Messages (KDMs).
- * @param key Key to use.
- */
+
void
MXF::set_key (Key key)
{
}
}
+
string
MXF::read_writer_info (ASDCP::WriterInfo const & info)
{