diff options
| author | John Hurst <jhurst@cinecert.com> | 2023-07-31 08:00:50 -0700 |
|---|---|---|
| committer | John Hurst <jhurst@cinecert.com> | 2023-07-31 08:00:50 -0700 |
| commit | 31e6bb2b3dfc330ae9ca35add278836cdc6ad19a (patch) | |
| tree | a6d915a1bd217548020bcdbbb9080f848ae06a8c /src/AS_02.h | |
| parent | 017b179b97e034981f803591070b886f3a9e70bb (diff) | |
fix: allow full 64 bits of index duration through API
Diffstat (limited to 'src/AS_02.h')
| -rw-r--r-- | src/AS_02.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/AS_02.h b/src/AS_02.h index 8a31d8f..516d470 100644 --- a/src/AS_02.h +++ b/src/AS_02.h @@ -73,7 +73,7 @@ namespace AS_02 class AS02IndexReader : public ASDCP::MXF::Partition { Kumu::ByteString m_IndexSegmentData; - ui32_t m_Duration; + ui64_t m_Duration; ui32_t m_BytesPerEditUnit; Result_t InitFromBuffer(const byte_t* p, ui32_t l, const ui64_t& body_offset, const ui64_t& essence_container_offset); @@ -88,7 +88,7 @@ namespace AS_02 virtual ~AS02IndexReader(); Result_t InitFromFile(const Kumu::IFileReader& reader, const ASDCP::MXF::RIP& rip, const bool has_header_essence); - ui32_t GetDuration() const; + ui64_t GetDuration() const; void Dump(FILE* = 0); Result_t GetMDObjectByID(const Kumu::UUID&, ASDCP::MXF::InterchangeObject** = 0); Result_t GetMDObjectByType(const byte_t*, ASDCP::MXF::InterchangeObject** = 0); |
