diff options
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; }; |
