summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorCarl Hetherington <cth@carlh.net>2024-02-21 01:10:23 +0100
committerCarl Hetherington <cth@carlh.net>2024-02-21 01:27:31 +0100
commita9b1c1cb65e1902a64430977cf698054e131a6f4 (patch)
tree08b654773e87e94bd38f9f2c3ca3a380d7c3e476 /src
parent10932722619696f1e089723c2dccf51281f24a40 (diff)
Fix failure to examine non-flat-ratio VFs (#2775).
Diffstat (limited to 'src')
-rw-r--r--src/lib/audio_examiner.h4
-rw-r--r--src/lib/dcp_examiner.cc2
2 files changed, 4 insertions, 2 deletions
diff --git a/src/lib/audio_examiner.h b/src/lib/audio_examiner.h
index f18387041..8f5646d0f 100644
--- a/src/lib/audio_examiner.h
+++ b/src/lib/audio_examiner.h
@@ -21,6 +21,10 @@
#ifndef DCPOMATIC_AUDIO_EXAMINER_H
#define DCPOMATIC_AUDIO_EXAMINER_H
+
+#include "types.h"
+
+
/** @file src/lib/audio_examiner.h
* @brief AudioExaminer class.
*/
diff --git a/src/lib/dcp_examiner.cc b/src/lib/dcp_examiner.cc
index 72eb82860..88c9a5b70 100644
--- a/src/lib/dcp_examiner.cc
+++ b/src/lib/dcp_examiner.cc
@@ -145,8 +145,6 @@ DCPExaminer::DCPExaminer (shared_ptr<const DCPContent> content, bool tolerant)
if (!reel->main_picture()->asset_ref().resolved()) {
LOG_GENERAL("Main picture %1 of reel %2 is missing", reel->main_picture()->id(), reel->id());
_needs_assets = true;
- /* Use a dummy value here; it will be replaced when the VF is re-examined. */
- _video_size = dcp::Size(1998, 1080);
} else {
LOG_GENERAL("Main picture %1 of reel %2 found", reel->main_picture()->id(), reel->id());