#include "user_property.h"
#include "video_frame_type.h"
#include "video_range.h"
+#include "video_type.h"
#include "types.h"
#include <dcp/language_tag.h>
#include <boost/thread/mutex.hpp>
static int const CUSTOM_RATIO;
static int const CUSTOM_SIZE;
static int const BURNT_SUBTITLE_LANGUAGE;
+ static int const TYPE;
};
return _size;
}
+ void set_type(VideoType type);
void set_frame_type (VideoFrameType);
void set_crop (Crop crop);
void set_burnt_subtitle_language (boost::optional<dcp::LanguageTag> language);
+ VideoType type() const {
+ boost::mutex::scoped_lock lm (_mutex);
+ return _type;
+ }
+
VideoFrameType frame_type () const {
boost::mutex::scoped_lock lm (_mutex);
return _frame_type;
Frame _length;
boost::optional<ColourConversion> _colour_conversion;
dcp::Size _size;
+ VideoType _type;
VideoFrameType _frame_type;
Crop _crop;
/** ratio to scale cropped image to (or none to guess); i.e. if set, scale to _custom_ratio:1 */