diff options
| author | Carl Hetherington <cth@carlh.net> | 2024-03-21 20:29:47 +0100 |
|---|---|---|
| committer | Carl Hetherington <cth@carlh.net> | 2024-03-21 20:29:47 +0100 |
| commit | 8b59eda953e7fa37506e6cb6add7dcb7d5ae8dce (patch) | |
| tree | 3a34949184334ec95661a63b87d8f3c09182c6e4 /src/h__Writer.cpp | |
| parent | 937185745167bbd12ebdb46ec3cf5127d26394ff (diff) | |
Allow overwrite (i.e. continue) when writing JPEG2000 MXFs.
Diffstat (limited to 'src/h__Writer.cpp')
| -rwxr-xr-x | src/h__Writer.cpp | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/src/h__Writer.cpp b/src/h__Writer.cpp index b36af64..c7aa8ab 100755 --- a/src/h__Writer.cpp +++ b/src/h__Writer.cpp @@ -327,6 +327,15 @@ ASDCP::h__ASDCPWriter::WriteEKLVPacket(const ASDCP::FrameBuffer& FrameBuf,const Ctx, HMAC); } +Result_t +ASDCP::h__ASDCPWriter::FakeWriteEKLVPacket(int size) +{ + m_StreamOffset += size; + m_File.Seek(size, Kumu::SP_POS); + + return RESULT_OK; +} + // standard method of writing the header and footer of a completed MXF file // Result_t |
