diff options
| author | Carl Hetherington <cth@carlh.net> | 2016-01-14 22:05:56 +0000 |
|---|---|---|
| committer | Carl Hetherington <cth@carlh.net> | 2016-01-14 23:02:44 +0000 |
| commit | 664f5734adfbf3bae1cbfd84c3b648bdf70f0490 (patch) | |
| tree | 5c19e96ee9a7b12ecb56683eb9f077ed9bcd58cc /src/AS_DCP_internal.h | |
| parent | cfa318342dee4df682e222a94300cca62a4a5683 (diff) | |
Support hashing while writing MXFs.
Diffstat (limited to 'src/AS_DCP_internal.h')
| -rwxr-xr-x | src/AS_DCP_internal.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/AS_DCP_internal.h b/src/AS_DCP_internal.h index 41fc582..ea6d99a 100755 --- a/src/AS_DCP_internal.h +++ b/src/AS_DCP_internal.h @@ -157,7 +157,7 @@ namespace ASDCP Result_t Write_EKLV_Packet(Kumu::FileWriter& File, const ASDCP::Dictionary& Dict, const MXF::OP1aHeader& HeaderPart, const ASDCP::WriterInfo& Info, ASDCP::FrameBuffer& CtFrameBuf, ui32_t& FramesWritten, ui64_t & StreamOffset, const ASDCP::FrameBuffer& FrameBuf, const byte_t* EssenceUL, - AESEncContext* Ctx, HMACContext* HMAC); + AESEncContext* Ctx, HMACContext* HMAC, std::string* hash = 0); // class KLReader : public ASDCP::KLVPacket @@ -860,7 +860,7 @@ namespace ASDCP Result_t CreateBodyPart(const MXF::Rational& EditRate, ui32_t BytesPerEditUnit = 0); Result_t WriteEKLVPacket(const ASDCP::FrameBuffer& FrameBuf,const byte_t* EssenceUL, - AESEncContext* Ctx, HMACContext* HMAC); + AESEncContext* Ctx, HMACContext* HMAC, std::string* hash = 0); Result_t FakeWriteEKLVPacket(int size); Result_t WriteASDCPFooter(); }; |
