X-Git-Url: https://git.carlh.net/gitweb/?a=blobdiff_plain;f=src%2Flib%2Fcontent_video.h;h=2c996f816650de6651463c3b33887d765b880aa9;hb=43877eccbedc0950ab253e76dd0cea691fd7a4b0;hp=96ce5450c2619f21a0213e18aa8624a110311906;hpb=70b1f90c6986e36afc2af36ee127f6a3eb8653cd;p=dcpomatic.git diff --git a/src/lib/content_video.h b/src/lib/content_video.h index 96ce5450c..2c996f816 100644 --- a/src/lib/content_video.h +++ b/src/lib/content_video.h @@ -17,6 +17,11 @@ */ +#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 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