diff options
| author | Carl Hetherington <cth@carlh.net> | 2013-07-22 12:25:35 +0100 |
|---|---|---|
| committer | Carl Hetherington <cth@carlh.net> | 2013-07-22 12:25:35 +0100 |
| commit | 75712cfaf2a8ec8904d7d9552c542a2245bbbc17 (patch) | |
| tree | 5a7994b213e7baab5675351b13807719a44d7862 /src/lib/video_content.h | |
| parent | 3d9f434ef9db3e78eed808d6ecb2d26fd03c2902 (diff) | |
Basic UI.
Diffstat (limited to 'src/lib/video_content.h')
| -rw-r--r-- | src/lib/video_content.h | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/src/lib/video_content.h b/src/lib/video_content.h index 1c85ca090..348e2ce8b 100644 --- a/src/lib/video_content.h +++ b/src/lib/video_content.h @@ -30,6 +30,7 @@ class VideoContentProperty public: static int const VIDEO_SIZE; static int const VIDEO_FRAME_RATE; + static int const VIDEO_FRAME_TYPE; static int const VIDEO_CROP; static int const VIDEO_RATIO; }; @@ -62,11 +63,18 @@ public: return _video_frame_rate; } + void set_video_frame_type (VideoFrameType); + void set_left_crop (int); void set_right_crop (int); void set_top_crop (int); void set_bottom_crop (int); + VideoFrameType video_frame_type () const { + boost::mutex::scoped_lock lm (_mutex); + return _video_frame_type; + } + Crop crop () const { boost::mutex::scoped_lock lm (_mutex); return _crop; @@ -92,6 +100,7 @@ private: libdcp::Size _video_size; float _video_frame_rate; + VideoFrameType _video_frame_type; Crop _crop; Ratio const * _ratio; }; |
