Fix various preview errors on high-DPI screens (#2774).
[dcpomatic.git] / src / lib / video_examiner.h
index c56530448fce67e44b5e98d728e43e254dbdf5f8..44a1186bb5fa4ff0c0cbbf660aa6f5eeebf50036 100644 (file)
@@ -25,7 +25,6 @@
 
 
 #include "pixel_quanta.h"
-#include "types.h"
 #include "video_content.h"
 #include <dcp/types.h>
 
@@ -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<double> sample_aspect_ratio () const {
-               return boost::optional<double> ();
+               return {};
        }
        /** @return true if this video is in YUV; must not be called if has_video() == false */
        virtual bool yuv () const = 0;