summaryrefslogtreecommitdiff
path: root/src/lib/dcp_examiner.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/lib/dcp_examiner.h')
-rw-r--r--src/lib/dcp_examiner.h6
1 files changed, 2 insertions, 4 deletions
diff --git a/src/lib/dcp_examiner.h b/src/lib/dcp_examiner.h
index 444fb7567..04fa31ea4 100644
--- a/src/lib/dcp_examiner.h
+++ b/src/lib/dcp_examiner.h
@@ -48,10 +48,8 @@ public:
return _video_frame_rate;
}
- dcp::Size video_size () const override {
- DCPOMATIC_ASSERT (_has_video);
- DCPOMATIC_ASSERT (_video_size);
- return *_video_size;
+ boost::optional<dcp::Size> video_size() const override {
+ return _video_size;
}
Frame video_length () const override {