summaryrefslogtreecommitdiff
path: root/src/h__02_Writer.cpp
diff options
context:
space:
mode:
authorjhurst <jhurst@cinecert.com>2018-08-20 00:15:11 +0000
committerjhurst <>2018-08-20 00:15:11 +0000
commit30dba88305439d4df852bb5149e134739889dc93 (patch)
tree771f8275a5b284985a88c0de8e0203bb2467d84b /src/h__02_Writer.cpp
parent79912d9558b67fb75dfad8bca29d2db1fa58a769 (diff)
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
Diffstat (limited to 'src/h__02_Writer.cpp')
-rw-r--r--src/h__02_Writer.cpp7
1 files changed, 7 insertions, 0 deletions
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() {}