Fix write_frame_info again.
[dcpomatic.git] / src / lib / content_video.h
index 96ce5450c2619f21a0213e18aa8624a110311906..2c996f816650de6651463c3b33887d765b880aa9 100644 (file)
 
 */
 
+#ifndef DCPOMATIC_CONTENT_VIDEO_H
+#define DCPOMATIC_CONTENT_VIDEO_H
+
+class ImageProxy;
+
 /** @class ContentVideo
  *  @brief A frame of video straight out of some content.
  */
@@ -25,15 +30,21 @@ class ContentVideo
 public:
        ContentVideo ()
                : eyes (EYES_BOTH)
+               , part (PART_WHOLE)
+               , frame (0)
        {}
 
-       ContentVideo (boost::shared_ptr<const Image> i, Eyes e, VideoFrame f)
+       ContentVideo (boost::shared_ptr<const ImageProxy> i, Eyes e, Part p, Frame f)
                : image (i)
                , eyes (e)
+               , part (p)
                , frame (f)
        {}
-       
-       boost::shared_ptr<const Image> image;
+
+       boost::shared_ptr<const ImageProxy> image;
        Eyes eyes;
-       VideoFrame frame;
+       Part part;
+       Frame frame;
 };
+
+#endif