diff options
| author | jhurst <jhurst@cinecert.com> | 2014-01-02 23:29:22 +0000 |
|---|---|---|
| committer | jhurst <> | 2014-01-02 23:29:22 +0000 |
| commit | 7ff636405a6bff37432e1c70123f0e6936186166 (patch) | |
| tree | 87d858c6afd73fd21ca6cab5607cffcd1f7d01c3 /src/DCData_Sequence_Parser.cpp | |
| parent | 7f373b689817ee70fbe5d6a14cb0512b5260f77c (diff) | |
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.
Diffstat (limited to 'src/DCData_Sequence_Parser.cpp')
| -rw-r--r-- | src/DCData_Sequence_Parser.cpp | 10 |
1 files changed, 4 insertions, 6 deletions
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<std::string> } // - 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<std::string>& 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<ASDCP::DCData::SequenceParser*>(this)->m_Parser = new h__SequenceParser; |
