summaryrefslogtreecommitdiff
path: root/src/lib/video_content.h
diff options
context:
space:
mode:
authorCarl Hetherington <cth@carlh.net>2014-06-12 16:47:08 +0100
committerCarl Hetherington <cth@carlh.net>2014-06-12 16:47:08 +0100
commitea5cd3b3a69d1b651c0e2baa41e0117da084bbc4 (patch)
treea9d1d39ca056e23bba4afeecadc25379d6f8c59f /src/lib/video_content.h
parent66162217d93baa3fd50594bb013a44bbd779d02a (diff)
Add "scale to fit height/width" options to a new Content menu.
Requested-by: Johan Malmsten
Diffstat (limited to 'src/lib/video_content.h')
-rw-r--r--src/lib/video_content.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/lib/video_content.h b/src/lib/video_content.h
index fbba9c09d..f23bf0abe 100644
--- a/src/lib/video_content.h
+++ b/src/lib/video_content.h
@@ -171,6 +171,9 @@ public:
VideoContent::Frame time_to_content_video_frames (Time) const;
+ void scale_and_crop_to_fit_width ();
+ void scale_and_crop_to_fit_height ();
+
protected:
void take_from_video_examiner (boost::shared_ptr<VideoExaminer>);