Add a comment.
[dcpomatic.git] / src / lib / content_video.h
index ddc03b2655d78f4d1b6ab575c369eb0b96f4640b..4fdab717a2965749bbd78f7a9939e1403eb15496 100644 (file)
 
 */
 
+
 #ifndef DCPOMATIC_CONTENT_VIDEO_H
 #define DCPOMATIC_CONTENT_VIDEO_H
 
+
+#include "types.h"
+
+
 class ImageProxy;
 
+
 /** @class ContentVideo
  *  @brief A frame of video straight out of some content.
  */
@@ -30,17 +36,19 @@ class ContentVideo
 {
 public:
        ContentVideo ()
-               : part (PART_WHOLE)
+               : frame (0)
+               , eyes (Eyes::LEFT)
+               , part (Part::WHOLE)
        {}
 
-       ContentVideo (boost::shared_ptr<const ImageProxy> i, Frame f, Eyes e, Part p)
+       ContentVideo (std::shared_ptr<const ImageProxy> i, Frame f, Eyes e, Part p)
                : image (i)
                , frame (f)
                , eyes (e)
                , part (p)
        {}
 
-       boost::shared_ptr<const ImageProxy> image;
+       std::shared_ptr<const ImageProxy> image;
        Frame frame;
        Eyes eyes;
        Part part;