X-Git-Url: https://git.carlh.net/gitweb/?a=blobdiff_plain;f=src%2FAS_02.h;h=61a2c1e0ba6b83c0e1fd715086c01c5361643d52;hb=0e18995c6a3eab16ddb428d6e5f734e88ae7c131;hp=c2c51799b86b2e434973a1d41012641241d1f425;hpb=f4061a21fffad4fdf8dbb2f193f0f0960b25421c;p=asdcplib.git diff --git a/src/AS_02.h b/src/AS_02.h index c2c5179..61a2c1e 100644 --- a/src/AS_02.h +++ b/src/AS_02.h @@ -520,7 +520,7 @@ namespace AS_02 // the operation cannot be completed or if nonsensical data is discovered // in the essence descriptor. Result_t OpenWrite(const std::string& filename, const ASDCP::WriterInfo&, - const ASDCP::UL& data_essence_coding, + const std::string& isxd_document_namespace, const ASDCP::Rational& edit_rate, const ui32_t& header_size = 16384, const IndexStrategy_t& strategy = IS_FOLLOW, const ui32_t& partition_space = 10); @@ -530,7 +530,7 @@ namespace AS_02 // error occurs. Result_t WriteFrame(const ASDCP::FrameBuffer&, ASDCP::AESEncContext* = 0, ASDCP::HMACContext* = 0); - // Writes an XML text document to the MXF file as per RP 2067. If the + // Writes an XML text document to the MXF file as per RP 2057. If the // optional AESEncContext argument is present, the document is encrypted // prior to writing. Fails if the file is not open, is finalized, or an // operating system error occurs. @@ -561,11 +561,6 @@ namespace AS_02 // operation cannot be completed. Result_t OpenRead(const std::string& filename) const; - // Open the file for reading. The file must exist. Returns error if the - // operation cannot be completed. If global metadata is available it will - // be placed into the buffer object passed as the second argument. - Result_t OpenRead(const std::string& filename, ASDCP::FrameBuffer& global_metadata) const; - // Returns RESULT_INIT if the file is not open. Result_t Close() const;