#ifndef LIBDCP_ASSET_WRITER_H
#define LIBDCP_ASSET_WRITER_H
+#include "types.h"
#include <boost/filesystem.hpp>
namespace ASDCP {
class AESEncContext;
+ class HMACContext;
}
namespace dcp {
virtual ~AssetWriter ();
virtual bool finalize ();
+ int64_t frames_written () const {
+ return _frames_written;
+ }
+
protected:
- AssetWriter (MXF* mxf, boost::filesystem::path file);
+ AssetWriter (MXF* mxf, boost::filesystem::path file, Standard standard);
/** MXF that we are writing */
MXF* _mxf;
/** true if something has been written to this asset */
bool _started;
ASDCP::AESEncContext* _encryption_context;
+ ASDCP::HMACContext* _hmac_context;
};
}