From 3ffd0163026be24e5373e0674c3301ed37546e44 Mon Sep 17 00:00:00 2001 From: Carl Hetherington Date: Wed, 21 Feb 2024 10:47:38 +0100 Subject: Make DCPExaminer::size() optional and deal with the consequences. This means we can fix the case of a VF having no known size in a nice way, in turn fixing problems caused by the fix to #2775. --- src/lib/ffmpeg_examiner.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/lib/ffmpeg_examiner.h') diff --git a/src/lib/ffmpeg_examiner.h b/src/lib/ffmpeg_examiner.h index 4747929b5..45313ec18 100644 --- a/src/lib/ffmpeg_examiner.h +++ b/src/lib/ffmpeg_examiner.h @@ -38,7 +38,7 @@ public: bool has_video () const override; boost::optional video_frame_rate () const override; - dcp::Size video_size () const override; + boost::optional video_size() const override; Frame video_length () const override; boost::optional sample_aspect_ratio () const override; bool yuv () const override; -- cgit v1.2.3