X-Git-Url: https://git.carlh.net/gitweb/?a=blobdiff_plain;f=src%2Flib%2Fvideo_examiner.h;h=2dcacfc349fbeaa11b46219bf80867a6f682729e;hb=e894cfe3d891135d1b92b62603a464e42bd6ed5c;hp=87e9a04288a20fb13018391ad4c124a58b757e05;hpb=6de35d058821acc092d2aae75543024a97026b8a;p=dcpomatic.git diff --git a/src/lib/video_examiner.h b/src/lib/video_examiner.h index 87e9a0428..2dcacfc34 100644 --- a/src/lib/video_examiner.h +++ b/src/lib/video_examiner.h @@ -21,9 +21,9 @@ * @brief VideoExaminer class. */ -#include #include "types.h" #include "video_content.h" +#include /** @class VideoExaminer * @brief Parent for classes which examine video sources and obtain information about them. @@ -32,7 +32,10 @@ class VideoExaminer { public: virtual ~VideoExaminer () {} - virtual float video_frame_rate () const = 0; + virtual boost::optional video_frame_rate () const = 0; virtual dcp::Size video_size () const = 0; virtual ContentTime video_length () const = 0; + virtual boost::optional sample_aspect_ratio () const { + return boost::optional (); + } };