X-Git-Url: https://main.carlh.net/gitweb/?a=blobdiff_plain;f=src%2Flib%2Fcontent_video.h;h=8b3d984df9f808db12448ad93e04fa7e1dafdb9d;hb=cc09cc4b12d199d490217d7b60ed0af69afb90de;hp=21a600709e9076e802c944c366a6fe9bbb68f54b;hpb=3828baf56467224f5d44049bf1e7a7ed11f43a05;p=dcpomatic.git diff --git a/src/lib/content_video.h b/src/lib/content_video.h index 21a600709..8b3d984df 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,22 +32,22 @@ class ContentVideo { public: ContentVideo () - : eyes (EYES_BOTH) + : frame (0) + , eyes (EYES_LEFT) , part (PART_WHOLE) - , frame (0) {} - ContentVideo (boost::shared_ptr i, Eyes e, Part p, Frame f) + ContentVideo (boost::shared_ptr i, Frame f, Eyes e, Part p) : image (i) + , frame (f) , eyes (e) , part (p) - , frame (f) {} boost::shared_ptr image; + Frame frame; Eyes eyes; Part part; - Frame frame; }; #endif