diff options
| author | Thomas Richter <thomas.richter@iis.fraunhofer.de> | 2022-02-03 10:57:36 +0100 |
|---|---|---|
| committer | Thomas Richter <thomas.richter@iis.fraunhofer.de> | 2022-02-03 10:57:36 +0100 |
| commit | 04dfb231f7639a2a8252e240c51baf59991411c7 (patch) | |
| tree | 2edca57447eee8fc3003fa572cb14047683823f5 /src/AS_DCP_MXF.cpp | |
| parent | 07f0749c9df03ec871e9aab0f82254467c46e02f (diff) | |
Enabled JPEG XS in as-02-info.
Diffstat (limited to 'src/AS_DCP_MXF.cpp')
| -rwxr-xr-x | src/AS_DCP_MXF.cpp | 4 |
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); |
