summaryrefslogtreecommitdiff
path: root/src/AS_DCP_JP2K.cpp
diff options
context:
space:
mode:
authorCarl Hetherington <cth@carlh.net>2019-01-31 23:30:51 +0000
committerCarl Hetherington <cth@carlh.net>2019-12-03 17:02:35 +0100
commit9b5b13a584bfaa751a1bdc35825353275291145c (patch)
tree7b8fd8555c5d8ff19e7e2c3287b18cd8c1564f4b /src/AS_DCP_JP2K.cpp
parentb8d5991589f5294c0254a508a45c3d48e8e35929 (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.
Diffstat (limited to 'src/AS_DCP_JP2K.cpp')
-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 052725e..5589ce5 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;