X-Git-Url: https://git.carlh.net/gitweb/?a=blobdiff_plain;f=src%2Flib%2Fcontent_video.h;h=2c996f816650de6651463c3b33887d765b880aa9;hb=6fde557864505b470c438e4161ee494f29b90d63;hp=20b5b8dec310a066eeb17e8c4a273ec32a826f2e;hpb=1dcfb3a26085ebb3703f40e2f51e43ce3d98be50;p=dcpomatic.git diff --git a/src/lib/content_video.h b/src/lib/content_video.h index 20b5b8dec..2c996f816 100644 --- a/src/lib/content_video.h +++ b/src/lib/content_video.h @@ -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 i, Eyes e, VideoFrame f) + ContentVideo (boost::shared_ptr i, Eyes e, Part p, Frame f) : image (i) , eyes (e) + , part (p) , frame (f) {} - - boost::shared_ptr image; + + boost::shared_ptr image; Eyes eyes; - VideoFrame frame; + Part part; + Frame frame; }; #endif