*/
+
#ifndef DCPOMATIC_CONTENT_VIDEO_H
#define DCPOMATIC_CONTENT_VIDEO_H
+
+#include "dcpomatic_time.h"
+#include "types.h"
+
+
class ImageProxy;
+
/** @class ContentVideo
* @brief A frame of video straight out of some content.
*/
{
public:
ContentVideo ()
- : eyes (EYES_BOTH)
- , part (PART_WHOLE)
- , frame (0)
+ : eyes (Eyes::LEFT)
+ , part (Part::WHOLE)
{}
- ContentVideo (boost::shared_ptr<const ImageProxy> i, Eyes e, Part p, Frame f)
+ ContentVideo (std::shared_ptr<const ImageProxy> i, dcpomatic::ContentTime t, Eyes e, Part p)
: image (i)
+ , time (t)
, eyes (e)
, part (p)
- , frame (f)
{}
- boost::shared_ptr<const ImageProxy> image;
+ std::shared_ptr<const ImageProxy> image;
+ dcpomatic::ContentTime time;
Eyes eyes;
Part part;
- Frame frame;
};
+
#endif