Add VideoFrame class.
[dcpomatic.git] / src / lib / content_video.h
index 21a600709e9076e802c944c366a6fe9bbb68f54b..8e5f2fd094d408d6433fb012c3a3a35385c9375c 100644 (file)
@@ -21,6 +21,8 @@
 #ifndef DCPOMATIC_CONTENT_VIDEO_H
 #define DCPOMATIC_CONTENT_VIDEO_H
 
+#include "video_frame.h"
+
 class ImageProxy;
 
 /** @class ContentVideo
@@ -30,22 +32,18 @@ class ContentVideo
 {
 public:
        ContentVideo ()
-               : eyes (EYES_BOTH)
-               , part (PART_WHOLE)
-               , frame (0)
+               : part (PART_WHOLE)
        {}
 
-       ContentVideo (boost::shared_ptr<const ImageProxy> i, Eyes e, Part p, Frame f)
+       ContentVideo (boost::shared_ptr<const ImageProxy> i, VideoFrame f, Part p)
                : image (i)
-               , eyes (e)
-               , part (p)
                , frame (f)
+               , part (p)
        {}
 
        boost::shared_ptr<const ImageProxy> image;
-       Eyes eyes;
+       VideoFrame frame;
        Part part;
-       Frame frame;
 };
 
 #endif