X-Git-Url: https://git.carlh.net/gitweb/?a=blobdiff_plain;f=src%2Flib%2Fvideo_examiner.h;h=44a1186bb5fa4ff0c0cbbf660aa6f5eeebf50036;hb=4ec9f7096050e9d1107628ffc28b785fba3020a0;hp=c56530448fce67e44b5e98d728e43e254dbdf5f8;hpb=c2a17a87868eba87072fc369102b2b3cd8905e5a;p=dcpomatic.git diff --git a/src/lib/video_examiner.h b/src/lib/video_examiner.h index c56530448..44a1186bb 100644 --- a/src/lib/video_examiner.h +++ b/src/lib/video_examiner.h @@ -25,7 +25,6 @@ #include "pixel_quanta.h" -#include "types.h" #include "video_content.h" #include @@ -48,7 +47,7 @@ public: virtual Frame video_length () const = 0; /** @return video sample aspect ratio (if known); must not be called if has_video() == false */ virtual boost::optional sample_aspect_ratio () const { - return boost::optional (); + return {}; } /** @return true if this video is in YUV; must not be called if has_video() == false */ virtual bool yuv () const = 0;