Logging improvements to allow prettier displays in the server GUI.
[dcpomatic.git] / src / lib / content_video.h
index 20b5b8dec310a066eeb17e8c4a273ec32a826f2e..2c996f816650de6651463c3b33887d765b880aa9 100644 (file)
@@ -20,7 +20,7 @@
 #ifndef DCPOMATIC_CONTENT_VIDEO_H
 #define DCPOMATIC_CONTENT_VIDEO_H
 
-class Image;
+class ImageProxy;
 
 /** @class ContentVideo
  *  @brief A frame of video straight out of some content.
@@ -30,17 +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