Note that newer libsub version is required.
[dcpomatic.git] / src / lib / content_video.h
index 8e5f2fd094d408d6433fb012c3a3a35385c9375c..4fdab717a2965749bbd78f7a9939e1403eb15496 100644 (file)
 
 */
 
+
 #ifndef DCPOMATIC_CONTENT_VIDEO_H
 #define DCPOMATIC_CONTENT_VIDEO_H
 
-#include "video_frame.h"
+
+#include "types.h"
+
 
 class ImageProxy;
 
+
 /** @class ContentVideo
  *  @brief A frame of video straight out of some content.
  */
@@ -32,17 +36,21 @@ class ContentVideo
 {
 public:
        ContentVideo ()
-               : part (PART_WHOLE)
+               : frame (0)
+               , eyes (Eyes::LEFT)
+               , part (Part::WHOLE)
        {}
 
-       ContentVideo (boost::shared_ptr<const ImageProxy> i, VideoFrame f, Part p)
+       ContentVideo (std::shared_ptr<const ImageProxy> i, Frame f, Eyes e, Part p)
                : image (i)
                , frame (f)
+               , eyes (e)
                , part (p)
        {}
 
-       boost::shared_ptr<const ImageProxy> image;
-       VideoFrame frame;
+       std::shared_ptr<const ImageProxy> image;
+       Frame frame;
+       Eyes eyes;
        Part part;
 };