summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCarl Hetherington <cth@carlh.net>2019-01-31 23:30:51 +0000
committerCarl Hetherington <cth@carlh.net>2024-03-21 20:25:17 +0100
commit116bbca3bba417734a5853786d86243f5e4d6357 (patch)
treea923a36fc2ee9c3181bc29f556469dd5ad8b9fe8
parent98c19786875a24786f2e0ecb3a54e1711bdcd307 (diff)
Set up MXF header value DisplayHeight. Otherwise mediainfo reports
0 height for DCP-o-matic's MXFs. See DoM bug #1325 for more discussion.
-rwxr-xr-xsrc/AS_DCP_JP2K.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/AS_DCP_JP2K.cpp b/src/AS_DCP_JP2K.cpp
index 06f86cd..8856e67 100755
--- a/src/AS_DCP_JP2K.cpp
+++ b/src/AS_DCP_JP2K.cpp
@@ -293,6 +293,7 @@ ASDCP::JP2K_PDesc_to_MD(const JP2K::PictureDescriptor& PDesc,
EssenceDescriptor.FrameLayout = 0;
EssenceDescriptor.StoredWidth = PDesc.StoredWidth;
EssenceDescriptor.StoredHeight = PDesc.StoredHeight;
+ EssenceDescriptor.DisplayHeight = PDesc.StoredHeight;
EssenceDescriptor.AspectRatio = PDesc.AspectRatio;
EssenceSubDescriptor.Rsize = PDesc.Rsize;