diff options
| author | cah <cah@ableton.com> | 2022-12-19 10:29:17 +0100 |
|---|---|---|
| committer | cah <cah@ableton.com> | 2022-12-19 10:29:17 +0100 |
| commit | 776f687d7cdf421d2d144b9f79364fefc1f784ba (patch) | |
| tree | f292554eb550d6a1d70cd8724929bd80246562ee /src/AS_DCP_JP2K.cpp | |
| parent | edcd528c723aff4cfcf941f5bd00b75cecd6e2b5 (diff) | |
Add FakeWriteFrame()carl-3
Diffstat (limited to 'src/AS_DCP_JP2K.cpp')
| -rwxr-xr-x | src/AS_DCP_JP2K.cpp | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/src/AS_DCP_JP2K.cpp b/src/AS_DCP_JP2K.cpp index 1eacf7f..97aa53e 100755 --- a/src/AS_DCP_JP2K.cpp +++ b/src/AS_DCP_JP2K.cpp @@ -1600,6 +1600,16 @@ ASDCP::JP2K::MXFSWriter::WriteFrame(const SFrameBuffer& FrameBuf, AESEncContext* return result; } +ASDCP::Result_t +ASDCP::JP2K::MXFSWriter::FakeWriteFrame(int size, StereoscopicPhase_t phase) +{ + if ( m_Writer.empty() ) + return RESULT_INIT; + + return m_Writer->FakeWriteFrame(size, phase); +} + + // Writes a frame of essence to the MXF file. If the optional AESEncContext // argument is present, the essence is encrypted prior to writing. // Fails if the file is not open, is finalized, or an operating system |
