From 30dba88305439d4df852bb5149e134739889dc93 Mon Sep 17 00:00:00 2001 From: jhurst Date: Mon, 20 Aug 2018 00:15:11 +0000 Subject: o Fixes wrong MajorVersion in Preface o Adds VideoLineMap also to RGBA essence descriptor o Adds VideoLineMap to RGBA and CDCI descriptor only when option -l is present (disputable - but distinguished value {0, 0} is not allowed in closed and complete partitions) o Fixes issue with IndexRate not set in AS-02 J2K files o Additional fixes to minor version number in AS-02 partition packs o CMake brought up to date o Fixed erroneous WAV RF64 header interpretation --- src/h__02_Writer.cpp | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'src/h__02_Writer.cpp') diff --git a/src/h__02_Writer.cpp b/src/h__02_Writer.cpp index 37393ca..41765de 100644 --- a/src/h__02_Writer.cpp +++ b/src/h__02_Writer.cpp @@ -47,6 +47,7 @@ AS_02::MXF::AS02IndexWriterVBR::AS02IndexWriterVBR(const ASDCP::Dictionary*& d) { BodySID = 0; IndexSID = 129; + MinorVersion = 3; } AS_02::MXF::AS02IndexWriterVBR::~AS02IndexWriterVBR() {} @@ -165,6 +166,11 @@ AS_02::MXF::AS02IndexWriterVBR::PushIndexEntry(const IndexTableSegment::IndexEnt m_CurrentSegment->IndexEntryArray.push_back(Entry); } +void +AS_02::MXF::AS02IndexWriterVBR::SetEditRate(const ASDCP::Rational& edit_rate) +{ + m_EditRate = edit_rate; +} //------------------------------------------------------------------------------------------ // @@ -223,6 +229,7 @@ AS_02::MXF::AS02IndexWriterCBR::AS02IndexWriterCBR(const ASDCP::Dictionary*& d) { BodySID = 0; IndexSID = 129; + MinorVersion = 3; } AS_02::MXF::AS02IndexWriterCBR::~AS02IndexWriterCBR() {} -- cgit v1.2.3