summaryrefslogtreecommitdiff
path: root/src/lib/video_content.h
diff options
context:
space:
mode:
authorCarl Hetherington <cth@carlh.net>2013-10-15 15:26:04 +0100
committerCarl Hetherington <cth@carlh.net>2013-10-15 15:26:04 +0100
commit45f9912aa850546e319e32a4052517d67f4e3d8f (patch)
treef92b43f73e82cd09bf6a3bea29147aafa9c59d79 /src/lib/video_content.h
parent708dacb8247c73c02b6192464325738203ca001a (diff)
Allow no-stretch scaling of video content.
Diffstat (limited to 'src/lib/video_content.h')
-rw-r--r--src/lib/video_content.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/lib/video_content.h b/src/lib/video_content.h
index 81325516d..369209776 100644
--- a/src/lib/video_content.h
+++ b/src/lib/video_content.h
@@ -87,6 +87,7 @@ public:
void set_ratio (Ratio const *);
+ /** @return ratio to scale to, or 0 if the content's own ratio should be preserved. */
Ratio const * ratio () const {
boost::mutex::scoped_lock lm (_mutex);
return _ratio;
@@ -98,6 +99,7 @@ public:
}
libdcp::Size video_size_after_3d_split () const;
+ libdcp::Size video_size_after_crop () const;
protected:
void take_from_video_examiner (boost::shared_ptr<VideoExaminer>);