summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCarl Hetherington <cth@carlh.net>2019-01-31 23:30:51 +0000
committerCarl Hetherington <cth@carlh.net>2020-11-23 23:54:16 +0100
commit2d5e60c550d373f4e109f2098e2904b45c85a9e5 (patch)
tree76b49674d3499ef6371b3daace06918dbf3a0048
parent48ddd429104e60b4a4cb0e37e16453b848585779 (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 7f282b3..dbc6233 100755
--- a/src/AS_DCP_JP2K.cpp
+++ b/src/AS_DCP_JP2K.cpp
@@ -216,6 +216,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;