Merge branch 'master' into 1.0
[libdcp.git] / asdcplib / src / h__Writer.cpp
index 662e0f82eabd56979d198e798b4437c43a2e7969..d743e300c0f7e6298e7db6f0239c2a35b8987dc1 100755 (executable)
@@ -32,6 +32,7 @@ THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
 #include "AS_DCP_internal.h"
 #include "KLV.h"
 
+using std::cout;
 using namespace ASDCP;
 using namespace ASDCP::MXF;
 
@@ -644,6 +645,17 @@ ASDCP::h__Writer::WriteEKLVPacket(const ASDCP::FrameBuffer& FrameBuf, const byte
   return result;
 }
 
+Result_t
+ASDCP::h__Writer::FakeWriteEKLVPacket(int size)
+{
+  Result_t result = RESULT_OK;
+
+  m_StreamOffset += size;
+  m_File.Seek(size, Kumu::SP_POS);
+
+  return result;
+}
+
 
 // standard method of writing the header and footer of a completed MXF file
 //