diff options
| author | Carl Hetherington <cth@carlh.net> | 2020-11-23 23:29:26 +0100 |
|---|---|---|
| committer | Carl Hetherington <cth@carlh.net> | 2020-12-27 02:30:45 +0100 |
| commit | 0decd2a4633592c4349a1fdbc5417a06835909e1 (patch) | |
| tree | 0042a5ec1ed274f217e781f45915bc1506c062d6 /src/h__Writer.cpp | |
| parent | 57516bc7a6f9e95d08df44a9c463ffcf1c4fa181 (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 8b6da22..cc1dff2 100755 --- a/src/h__Writer.cpp +++ b/src/h__Writer.cpp @@ -310,6 +310,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 |
