Be more careful about allowing possibly-trouble-causing characters in DCP filenames.
[dcpomatic.git] / src / lib / video_frame.h
index abb25ec3742142059525d0cc82cd786f6a3b520e..c197a94c8bfc2c35c08d195eaeaf26cfed0563a2 100644 (file)
@@ -31,7 +31,7 @@ public:
                , _eyes (EYES_BOTH)
        {}
 
-       VideoFrame (Frame i)
+       explicit VideoFrame (Frame i)
                : _index (i)
                , _eyes (EYES_BOTH)
        {}
@@ -58,5 +58,6 @@ private:
 
 extern bool operator== (VideoFrame const & a, VideoFrame const & b);
 extern bool operator!= (VideoFrame const & a, VideoFrame const & b);
+extern bool operator> (VideoFrame const & a, VideoFrame const & b);
 
 #endif