1 #ifndef DVDOMATIC_VIDEO_CONTENT_H
2 #define DVDOMATIC_VIDEO_CONTENT_H
9 class VideoContentProperty
12 static int const VIDEO_LENGTH;
13 static int const VIDEO_SIZE;
14 static int const VIDEO_FRAME_RATE;
17 class VideoContent : public virtual Content
20 VideoContent (boost::filesystem::path);
22 ContentVideoFrame video_length () const {
23 boost::mutex::scoped_lock lm (_mutex);
27 libdcp::Size video_size () const {
28 boost::mutex::scoped_lock lm (_mutex);
32 float video_frame_rate () const {
33 boost::mutex::scoped_lock lm (_mutex);
34 return _video_frame_rate;
38 void take_from_video_decoder (boost::shared_ptr<VideoDecoder>);
40 ContentVideoFrame _video_length;
43 libdcp::Size _video_size;
44 float _video_frame_rate;