From 7ff636405a6bff37432e1c70123f0e6936186166 Mon Sep 17 00:00:00 2001 From: jhurst Date: Thu, 2 Jan 2014 23:29:22 +0000 Subject: o Fixed missing-index-partion bugs for AS-02 files. o Improved integration of ST 377-4 MCA concepts with ST 429-2 static labels. o Added new EssenceType_t values for IMF/AS-02 track files. o Added detection for AS-02 track files to ASDCP::EssenceType() o Changed lots of "const char*" to "const std::string&" in the APIs defined by KM_fileio.h and AS_DCP.h. o Fixed VBR Delta Segment entries to correctly flag progressive material. o Fixed PCM unwrapping bugs in as-02-unwrap. --- src/DCData_Sequence_Parser.cpp | 10 ++++------ 1 file changed, 4 insertions(+), 6 deletions(-) (limited to 'src/DCData_Sequence_Parser.cpp') diff --git a/src/DCData_Sequence_Parser.cpp b/src/DCData_Sequence_Parser.cpp index 45594c5..de9f39a 100644 --- a/src/DCData_Sequence_Parser.cpp +++ b/src/DCData_Sequence_Parser.cpp @@ -66,7 +66,7 @@ class ASDCP::DCData::FileList : public std::list } // - Result_t InitFromDirectory(const char* path) + Result_t InitFromDirectory(const std::string& path) { char next_file[Kumu::MaxFilePath]; Kumu::DirScanner Scanner; @@ -125,7 +125,7 @@ class ASDCP::DCData::SequenceParser::h__SequenceParser Close(); } - Result_t OpenRead(const char* filename); + Result_t OpenRead(const std::string& filename); Result_t OpenRead(const std::list& file_list); void Close() {} @@ -174,10 +174,8 @@ ASDCP::DCData::SequenceParser::h__SequenceParser::OpenRead() // ASDCP::Result_t -ASDCP::DCData::SequenceParser::h__SequenceParser::OpenRead(const char* filename) +ASDCP::DCData::SequenceParser::h__SequenceParser::OpenRead(const std::string& filename) { - ASDCP_TEST_NULL_STR(filename); - Result_t result = m_FileList.InitFromDirectory(filename); if ( ASDCP_SUCCESS(result) ) @@ -228,7 +226,7 @@ ASDCP::DCData::SequenceParser::~SequenceParser() // Opens the stream for reading, parses enough data to provide a complete // set of stream metadata for the MXFWriter below. ASDCP::Result_t -ASDCP::DCData::SequenceParser::OpenRead(const char* filename) const +ASDCP::DCData::SequenceParser::OpenRead(const std::string& filename) const { const_cast(this)->m_Parser = new h__SequenceParser; -- cgit v1.2.3