X-Git-Url: https://git.carlh.net/gitweb/?p=dcpomatic.git;a=blobdiff_plain;f=src%2Flib%2Fdcp_content.cc;fp=src%2Flib%2Fdcp_content.cc;h=6185b3a19db2cfbd4e49474794b3b3057154022a;hp=e22f69f56c62b8373b58e60dc04fb8d81d311a12;hb=3ffd0163026be24e5373e0674c3301ed37546e44;hpb=a9b1c1cb65e1902a64430977cf698054e131a6f4 diff --git a/src/lib/dcp_content.cc b/src/lib/dcp_content.cc index e22f69f56..6185b3a19 100644 --- a/src/lib/dcp_content.cc +++ b/src/lib/dcp_content.cc @@ -830,7 +830,7 @@ DCPContent::kdm_timing_window_valid () const Resolution DCPContent::resolution () const { - if (video->size().width > 2048 || video->size().height > 1080) { + if (video->size() && (video->size()->width > 2048 || video->size()->height > 1080)) { return Resolution::FOUR_K; }