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);
21 VideoContent (boost::shared_ptr<const cxml::Node>);
22 VideoContent (VideoContent const &);
24 void as_xml (xmlpp::Node *) const;
26 ContentVideoFrame video_length () const {
27 boost::mutex::scoped_lock lm (_mutex);
31 libdcp::Size video_size () const {
32 boost::mutex::scoped_lock lm (_mutex);
36 float video_frame_rate () const {
37 boost::mutex::scoped_lock lm (_mutex);
38 return _video_frame_rate;
42 void take_from_video_decoder (boost::shared_ptr<VideoDecoder>);
44 ContentVideoFrame _video_length;
47 libdcp::Size _video_size;
48 float _video_frame_rate;