projects
/
dcpomatic.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Make DCPExaminer::size() optional and deal with the consequences.
[dcpomatic.git]
/
src
/
lib
/
dcp_content.cc
diff --git
a/src/lib/dcp_content.cc
b/src/lib/dcp_content.cc
index e22f69f56c62b8373b58e60dc04fb8d81d311a12..6185b3a19db2cfbd4e49474794b3b3057154022a 100644
(file)
--- 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;
}