summaryrefslogtreecommitdiff
path: root/src/AS_DCP_MXF.cpp
diff options
context:
space:
mode:
authorJohn Hurst <jhurst@cinecert.com>2022-02-08 08:34:12 -0800
committerGitHub <noreply@github.com>2022-02-08 08:34:12 -0800
commitc78397bb199359512c9662f56287ec5e9dd78e84 (patch)
treedd70047f368cfdfb667a87abb5f771c3b5778e5b /src/AS_DCP_MXF.cpp
parentf16cc0f8bc74648aa9ed80aeedcd474eed8ca818 (diff)
parent548666ad15294271a4e8fc3b85fd0710e3eca5c9 (diff)
Merge pull request #106 from thorfdbg/master
Fixed MDDs for JPEG XS labels in IMF files
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 129edf1..643e274 100755
--- a/src/AS_DCP_MXF.cpp
+++ b/src/AS_DCP_MXF.cpp
@@ -248,6 +248,10 @@ ASDCP::EssenceType(const std::string& filename, EssenceType_t& type, const Kumu:
{
type = ESS_AS02_JPEG_2000;
}
+ else if ( ASDCP_SUCCESS(TestHeader.GetMDObjectByType(OBJ_TYPE_ARGS(JPEGXSPictureSubDescriptor))) )
+ {
+ type = ESS_AS02_JPEG_XS;
+ }
else if ( ASDCP_SUCCESS(TestHeader.GetMDObjectByType(OBJ_TYPE_ARGS(WaveAudioDescriptor), &md_object)) )
{
assert(md_object);