summaryrefslogtreecommitdiff
path: root/src/AS_DCP.h
diff options
context:
space:
mode:
authorjhurst <jhurst@cinecert.com>2009-08-14 18:21:35 +0000
committerjhurst <>2009-08-14 18:21:35 +0000
commit02e0d37bf7b192fcac4b8bb8c4c39a62d47c9531 (patch)
tree1ffeb5db9b8458cb7bebebe32ce087c2f0dedb75 /src/AS_DCP.h
parent49d8c24675d057db801c68d0a3063ceb3eab366f (diff)
new mode
Diffstat (limited to 'src/AS_DCP.h')
-rwxr-xr-xsrc/AS_DCP.h7
1 files changed, 6 insertions, 1 deletions
diff --git a/src/AS_DCP.h b/src/AS_DCP.h
index 3cbc481..f8711d1 100755
--- a/src/AS_DCP.h
+++ b/src/AS_DCP.h
@@ -1346,10 +1346,15 @@ namespace ASDCP {
DCSubtitleParser();
virtual ~DCSubtitleParser();
- // Opens the XML file for reading, parse data to provide a complete
+ // Opens an XML file for reading, parses data to provide a complete
// set of stream metadata for the MXFWriter below.
Result_t OpenRead(const char* filename) const;
+ // Parses an XML document to provide a complete set of stream metadata
+ // for the MXFWriter below. The optional filename argument is used to
+ // initialize the default resource resolver (see ReadAncillaryResource).
+ Result_t OpenRead(const std::string& xml_doc, const char* filename = 0) const;
+
// Fill a TimedTextDescriptor struct with the values from the file's contents.
// Returns RESULT_INIT if the file is not open.
Result_t FillTimedTextDescriptor(TimedTextDescriptor&) const;