diff options
| author | Carl Hetherington <cth@carlh.net> | 2020-11-23 23:29:26 +0100 |
|---|---|---|
| committer | Carl Hetherington <cth@carlh.net> | 2020-11-23 23:29:26 +0100 |
| commit | 32db44bff3fe426b17db7db0e8ca3e87a4b2403a (patch) | |
| tree | 98606b16279412665df3fe840ab7969eb9db33ea /src/h__Writer.cpp | |
| parent | 53ce270e5e007f9babf74002f6504286e172ce36 (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 a0fa2fc..ad82337 100755 --- a/src/h__Writer.cpp +++ b/src/h__Writer.cpp @@ -174,6 +174,15 @@ ASDCP::h__ASDCPWriter::WriteEKLVPacket(const ASDCP::FrameBuffer& FrameBuf,const m_StreamOffset, FrameBuf, EssenceUL, 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 |
