summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authormikey <mikey@cinecert.com>2012-03-06 20:08:59 +0000
committermikey <>2012-03-06 20:08:59 +0000
commit9f267e9656c2a5f2986b7ab29aeeec48143c76e1 (patch)
tree3985c66b9e151e03b7dd397369167a9e6694334e
parentfe9f995b429d66256725d8979d09ae93f8c53986 (diff)
version revv
-rw-r--r--configure.ac2
-rwxr-xr-xsrc/MXF.cpp28
-rwxr-xr-xsrc/MXF.h5
3 files changed, 34 insertions, 1 deletions
diff --git a/configure.ac b/configure.ac
index 78fd8ac..bc3b84e 100644
--- a/configure.ac
+++ b/configure.ac
@@ -37,7 +37,7 @@ AC_PREREQ([2.59])
# For example, if asdcplib version 1.0.0 were modified to accomodate changes
# in file format, and if no changes were made to AS_DCP.h, the new version would be
# 1.0.1. If changes were also required in AS_DCP.h, the new version would be 1.1.1.
-AC_INIT([asdcplib], [1.9.44g], [asdcplib@cinecert.com])
+AC_INIT([asdcplib], [1.9.45], [asdcplib@cinecert.com])
AC_CONFIG_AUX_DIR([build-aux])
AC_CONFIG_SRCDIR([src/KM_error.h])
diff --git a/src/MXF.cpp b/src/MXF.cpp
index 529344f..bc7bec2 100755
--- a/src/MXF.cpp
+++ b/src/MXF.cpp
@@ -902,6 +902,9 @@ ASDCP::MXF::OPAtomHeader::GetSourcePackage()
return 0;
}
+//
+ASDCP::MXF::RIP&
+ASDCP::MXF::OPAtomHeader::GetRIP() { return m_RIP; }
//
ASDCP::Result_t
@@ -1182,6 +1185,31 @@ ASDCP::MXF::OPAtomIndexFooter::Dump(FILE* stream)
(*i)->Dump(stream);
}
+ASDCP::Result_t
+ASDCP::MXF::OPAtomIndexFooter::GetMDObjectByID(const UUID& ObjectID, InterchangeObject** Object)
+{
+ return m_PacketList->GetMDObjectByID(ObjectID, Object);
+}
+
+//
+ASDCP::Result_t
+ASDCP::MXF::OPAtomIndexFooter::GetMDObjectByType(const byte_t* ObjectID, InterchangeObject** Object)
+{
+ InterchangeObject* TmpObject;
+
+ if ( Object == 0 )
+ Object = &TmpObject;
+
+ return m_PacketList->GetMDObjectByType(ObjectID, Object);
+}
+
+//
+ASDCP::Result_t
+ASDCP::MXF::OPAtomIndexFooter::GetMDObjectsByType(const byte_t* ObjectID, std::list<InterchangeObject*>& ObjectList)
+{
+ return m_PacketList->GetMDObjectsByType(ObjectID, ObjectList);
+}
+
//
ASDCP::Result_t
ASDCP::MXF::OPAtomIndexFooter::Lookup(ui32_t frame_num, IndexTableSegment::IndexEntry& Entry) const
diff --git a/src/MXF.h b/src/MXF.h
index 6708f0a..3d0264c 100755
--- a/src/MXF.h
+++ b/src/MXF.h
@@ -359,6 +359,7 @@ namespace ASDCP
virtual Result_t GetMDObjectByID(const UUID&, InterchangeObject** = 0);
virtual Result_t GetMDObjectByType(const byte_t*, InterchangeObject** = 0);
virtual Result_t GetMDObjectsByType(const byte_t* ObjectID, std::list<InterchangeObject*>& ObjectList);
+ virtual ASDCP::MXF::RIP& GetRIP();
Identification* GetIdentification();
SourcePackage* GetSourcePackage();
};
@@ -388,6 +389,10 @@ namespace ASDCP
virtual Result_t WriteToFile(Kumu::FileWriter& Writer, ui64_t duration);
virtual void Dump(FILE* = 0);
+ virtual Result_t GetMDObjectByID(const UUID&, InterchangeObject** = 0);
+ virtual Result_t GetMDObjectByType(const byte_t*, InterchangeObject** = 0);
+ virtual Result_t GetMDObjectsByType(const byte_t* ObjectID, std::list<InterchangeObject*>& ObjectList);
+
virtual Result_t Lookup(ui32_t frame_num, IndexTableSegment::IndexEntry&) const;
virtual void PushIndexEntry(const IndexTableSegment::IndexEntry&);
virtual void SetIndexParamsCBR(IPrimerLookup* lookup, ui32_t size, const Rational& Rate);