diff options
| author | Carl Hetherington <cth@carlh.net> | 2016-01-14 22:05:56 +0000 |
|---|---|---|
| committer | Carl Hetherington <cth@carlh.net> | 2019-12-03 16:44:40 +0100 |
| commit | 9343b09f514076733528eddbdc68c8b133ac4886 (patch) | |
| tree | 6db86b7fc1b7ab78c7ddae655887c24984361b04 /src/AS_DCP_internal.h | |
| parent | 0aa969183b97072b238e8aeff89d7b928df02f40 (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 369b8fd..782e5c4 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(); }; |
