X-Git-Url: https://main.carlh.net/gitweb/?a=blobdiff_plain;f=src%2Flib%2Fcontent_video.h;h=ee169b6c556c93b93a7636f183314e56830ed17d;hb=1d2a51bdc8315fa7283be329669860e435a1513f;hp=ddc03b2655d78f4d1b6ab575c369eb0b96f4640b;hpb=130577d2e4e67de15ac8f5d6447729736d4bcac6;p=dcpomatic.git diff --git a/src/lib/content_video.h b/src/lib/content_video.h index ddc03b265..ee169b6c5 100644 --- a/src/lib/content_video.h +++ b/src/lib/content_video.h @@ -21,6 +21,8 @@ #ifndef DCPOMATIC_CONTENT_VIDEO_H #define DCPOMATIC_CONTENT_VIDEO_H +#include "types.h" + class ImageProxy; /** @class ContentVideo @@ -30,17 +32,19 @@ class ContentVideo { public: ContentVideo () - : part (PART_WHOLE) + : frame (0) + , eyes (EYES_LEFT) + , part (PART_WHOLE) {} - ContentVideo (boost::shared_ptr i, Frame f, Eyes e, Part p) + ContentVideo (std::shared_ptr i, Frame f, Eyes e, Part p) : image (i) , frame (f) , eyes (e) , part (p) {} - boost::shared_ptr image; + std::shared_ptr image; Frame frame; Eyes eyes; Part part;