diff options
| -rwxr-xr-x | src/AS_DCP.h | 4 | ||||
| -rwxr-xr-x | src/AS_DCP_JP2K.cpp | 13 |
2 files changed, 17 insertions, 0 deletions
diff --git a/src/AS_DCP.h b/src/AS_DCP.h index c940f1a..78ecea3 100755 --- a/src/AS_DCP.h +++ b/src/AS_DCP.h @@ -1275,6 +1275,8 @@ namespace ASDCP { // Closes the MXF file, writing the index and revised header. Result_t Finalize(); + + ui64_t Tell() const; }; // @@ -1390,6 +1392,8 @@ namespace ASDCP { // Closes the MXF file, writing the index and revised header. Returns // RESULT_SPHASE if WriteFrame was called an odd number of times. Result_t Finalize(); + + ui64_t Tell() const; }; // diff --git a/src/AS_DCP_JP2K.cpp b/src/AS_DCP_JP2K.cpp index 06f86cd..1eacf7f 100755 --- a/src/AS_DCP_JP2K.cpp +++ b/src/AS_DCP_JP2K.cpp @@ -1413,6 +1413,13 @@ ASDCP::JP2K::MXFWriter::Finalize() } +ui64_t +ASDCP::JP2K::MXFWriter::Tell() const +{ + return m_Writer->m_File.TellPosition(); +} + + //------------------------------------------------------------------------------------------ // @@ -1617,6 +1624,12 @@ ASDCP::JP2K::MXFSWriter::Finalize() return m_Writer->Finalize(); } +ui64_t +ASDCP::JP2K::MXFSWriter::Tell() const +{ + return m_Writer->m_File.TellPosition(); +} + // // end AS_DCP_JP2K.cpp // |
