summaryrefslogtreecommitdiff
path: root/src/lib/video_examiner.h
diff options
context:
space:
mode:
authorCarl Hetherington <cth@carlh.net>2024-02-22 01:25:03 +0100
committerCarl Hetherington <cth@carlh.net>2024-02-22 01:25:03 +0100
commita45f6245e8cc785fab436c9282fa3d1baf3a8575 (patch)
treec6ae82be2319446c35ebad6666f68dbb109f8904 /src/lib/video_examiner.h
parent6c3ded5baac385d95ec2cf5e625c6c796c23e318 (diff)
parent3ffd0163026be24e5373e0674c3301ed37546e44 (diff)
Merge tag 'v2.16.78' into v2.17.xv2.17.12
Diffstat (limited to 'src/lib/video_examiner.h')
-rw-r--r--src/lib/video_examiner.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/lib/video_examiner.h b/src/lib/video_examiner.h
index 44a1186bb..b670dafc5 100644
--- a/src/lib/video_examiner.h
+++ b/src/lib/video_examiner.h
@@ -41,8 +41,8 @@ public:
/** @return video frame rate (if known); must not be called if has_video() == false */
virtual boost::optional<double> video_frame_rate () const = 0;
- /** @return video size; must not be called if has_video() == false */
- virtual dcp::Size video_size () const = 0;
+ /** @return video size (if known) */
+ virtual boost::optional<dcp::Size> video_size() const = 0;
/** @return video length in frames; must not be called if has_video() == false */
virtual Frame video_length () const = 0;
/** @return video sample aspect ratio (if known); must not be called if has_video() == false */