summaryrefslogtreecommitdiff
path: root/src/AS_DCP_MXF.cpp
diff options
context:
space:
mode:
authorWolfgang Ruppel <imftool@t-online.de>2020-04-22 23:40:39 +0200
committerGitHub <noreply@github.com>2020-04-22 14:40:39 -0700
commitda198d2a3a2b772357b3333aae3eb95e96fb6d93 (patch)
treea132eb940f4ba29deb20288e169078c0c2201a6a /src/AS_DCP_MXF.cpp
parent8be2ad09b94fbf2f023e24cf1b7eec10c03047b4 (diff)
* Fixes an error when calling OP1aHeader::GetMDObjectByType()
* IAB Essence type detection added * Adding AS_02_internal.h to deploy targets
Diffstat (limited to 'src/AS_DCP_MXF.cpp')
-rwxr-xr-xsrc/AS_DCP_MXF.cpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/AS_DCP_MXF.cpp b/src/AS_DCP_MXF.cpp
index d3606fe..c478f2f 100755
--- a/src/AS_DCP_MXF.cpp
+++ b/src/AS_DCP_MXF.cpp
@@ -277,6 +277,10 @@ ASDCP::EssenceType(const std::string& filename, EssenceType_t& type)
{
type = ESS_AS02_ACES;
}
+ else if ( ASDCP_SUCCESS(TestHeader.GetMDObjectByType(OBJ_TYPE_ARGS(IABEssenceDescriptor))) )
+ {
+ type = ESS_AS02_IAB;
+ }
}
}
else