Make DCPExaminer::size() optional and deal with the consequences.
[dcpomatic.git] / src / lib / ffmpeg_examiner.cc
index ed6f210945960503ac303effc8d731af4554e4d2..15cb14ad53301605df3e96ec4398f7ffdce55b8c 100644 (file)
@@ -305,7 +305,7 @@ FFmpegExaminer::video_frame_rate () const
 }
 
 
-dcp::Size
+optional<dcp::Size>
 FFmpegExaminer::video_size () const
 {
        return dcp::Size (video_codec_context()->width, video_codec_context()->height);