summaryrefslogtreecommitdiff
path: root/src/lib/ratio.h
diff options
context:
space:
mode:
authorCarl Hetherington <cth@carlh.net>2014-11-11 00:04:02 +0000
committerCarl Hetherington <cth@carlh.net>2014-11-11 00:04:02 +0000
commit58f0530b1687673ea6e24a083063c3fdf2bff0b2 (patch)
tree1f76acad0a2877e527c936f754dde16eaf2d768e /src/lib/ratio.h
parent985a83ffbf251db481150221914ef74fbfe549b2 (diff)
Hand-apply 80562fe5dce5fd625da583ca6f7c2833f9db8754 from master (remove default scale and use a scale guessed from the content's size and sample aspect ratio).
Diffstat (limited to 'src/lib/ratio.h')
-rw-r--r--src/lib/ratio.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/lib/ratio.h b/src/lib/ratio.h
index 69e3726c8..f1a180d8f 100644
--- a/src/lib/ratio.h
+++ b/src/lib/ratio.h
@@ -53,6 +53,7 @@ public:
static void setup_ratios ();
static Ratio const * from_id (std::string i);
static Ratio const * from_ratio (float r);
+ static Ratio const * nearest_from_ratio (float r);
static std::vector<Ratio const *> all () {
return _ratios;
}