summaryrefslogtreecommitdiff
path: root/src/AS_02_IAB.h
diff options
context:
space:
mode:
authorJohn Hurst <jhurst@cinecert.com>2021-08-27 07:44:04 -0700
committerGitHub <noreply@github.com>2021-08-27 07:44:04 -0700
commitb8dea7232f134cc54f516e1f0f914d626594eaa4 (patch)
treeab1fcf6f04c89caecb086e2c8964e346425fe6ff /src/AS_02_IAB.h
parent9b1a901aef79dfe022c54dfdb1e0c1c1b4a451a8 (diff)
parent404ae7e7645525b0ac846ab1c4f08a2867cfc680 (diff)
Merge pull request #2 from DolbyLaboratories/dolby/atmos_storage/asdcplib_integration/as02info_as02unwrap_iab
Merge dolby/atmos_storage/asdcplib_integration/as02info_as02unwrap_iab (contains also FileReader pluggable at runtime) to master
Diffstat (limited to 'src/AS_02_IAB.h')
-rw-r--r--src/AS_02_IAB.h13
1 files changed, 12 insertions, 1 deletions
diff --git a/src/AS_02_IAB.h b/src/AS_02_IAB.h
index 42c9ce3..7e489e6 100644
--- a/src/AS_02_IAB.h
+++ b/src/AS_02_IAB.h
@@ -157,6 +157,8 @@ namespace AS_02 {
i64_t m_CurrentFrameIndex;
std::vector<ui8_t> m_CurrentFrameBuffer;
ReaderState_t m_State;
+
+ const Kumu::IFileReaderFactory& m_FileReaderFactory;
void Reset();
@@ -170,7 +172,16 @@ namespace AS_02 {
/* methods */
- MXFReader();
+ /**
+ * Construct MXF Reader
+ * .
+ * @param fileReaderFactory Abstract interface that allows
+ * to override asdcplib's file read access by a user implementation.
+ * Notice that the factory object reference needs to remain valid
+ * when performing OpenRead operation.
+ */
+ MXFReader(const Kumu::IFileReaderFactory& fileReaderFactory);
+
virtual ~MXFReader();
/**