*/
+
#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 ()
- : part (PART_WHOLE)
+ : 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, dcpomatic::ContentTime t, Eyes e, Part p)
: image (i)
- , frame (f)
+ , time (t)
, eyes (e)
, part (p)
{}
- boost::shared_ptr<const ImageProxy> image;
- Frame frame;
+ std::shared_ptr<const ImageProxy> image;
+ dcpomatic::ContentTime time;
Eyes eyes;
Part part;
};
+
#endif