- VideoContent::Frame _video_length;
- float _original_video_frame_rate;
- float _video_frame_rate;
+ VideoRange range () const {
+ boost::mutex::scoped_lock lm (_mutex);
+ return _range;
+ }
+
+ bool use () const {
+ boost::mutex::scoped_lock lm (_mutex);
+ return _use;
+ }
+
+ boost::optional<dcp::LanguageTag> burnt_subtitle_language () const {
+ boost::mutex::scoped_lock lm (_mutex);
+ return _burnt_subtitle_language;
+ }
+
+
+ /* XXX: names for these? */
+ dcp::Size size_after_3d_split () const;
+ dcp::Size size_after_crop () const;
+ dcp::Size scaled_size (dcp::Size container_size);
+
+ boost::optional<double> fade (std::shared_ptr<const Film> film, Frame) const;
+
+ std::string processing_description (std::shared_ptr<const Film> film);
+
+ void set_length (Frame);
+
+ void take_from_examiner (std::shared_ptr<VideoExaminer>);
+ void add_properties (std::list<UserProperty> &) const;
+
+ void modify_position (std::shared_ptr<const Film> film, dcpomatic::DCPTime& pos) const;
+ void modify_trim_start (dcpomatic::ContentTime& pos) const;
+
+ static std::shared_ptr<VideoContent> from_xml (Content* parent, cxml::ConstNodePtr, int);