class VideoContent : public virtual Content
{
public:
- typedef int Frame;
-
VideoContent (boost::shared_ptr<const Film>);
VideoContent (boost::shared_ptr<const Film>, DCPTime, ContentTime);
VideoContent (boost::shared_ptr<const Film>, boost::filesystem::path);
void as_xml (xmlpp::Node *) const;
std::string technical_summary () const;
- virtual std::string information () const;
virtual std::string identifier () const;
+ virtual void set_default_colour_conversion ();
+
ContentTime video_length () const {
boost::mutex::scoped_lock lm (_mutex);
return _video_length;
void set_bottom_crop (int);
void set_scale (VideoContentScale);
- void unset_colour_conversion ();
+ void unset_colour_conversion (bool signal = true);
void set_colour_conversion (ColourConversion);
- void set_default_colour_conversion (bool signal = true);
void set_fade_in (ContentTime);
void set_fade_out (ContentTime);
ContentTime _video_length;
float _video_frame_rate;
+ boost::optional<ColourConversion> _colour_conversion;
private:
friend struct ffmpeg_pts_offset_test;
VideoFrameType _video_frame_type;
Crop _crop;
VideoContentScale _scale;
- boost::optional<ColourConversion> _colour_conversion;
/** Sample aspect ratio obtained from the content file's header,
if there is one.
*/