X-Git-Url: https://main.carlh.net/gitweb/?a=blobdiff_plain;f=src%2Flib%2Fcontent_video.h;h=c8f5cca0b9c29b708b3ab5fb64e81b44845554dc;hb=5e8f1fb8d6dac786983a8e96cc6ee119506c200a;hp=20b5b8dec310a066eeb17e8c4a273ec32a826f2e;hpb=1eeba876ce09cedfa4c779bf3554372c01dc34c5;p=dcpomatic.git diff --git a/src/lib/content_video.h b/src/lib/content_video.h index 20b5b8dec..c8f5cca0b 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