X-Git-Url: https://git.carlh.net/gitweb/?a=blobdiff_plain;f=src%2Flib%2Fformat.h;h=7958ca5341604e199a181b2295e0708b3614d542;hb=d62877ae6c4e316e43f4052e4b9ba673610012cf;hp=b4c691e56fea19e45b023782d4b255feb77b53dd;hpb=71ea64782f215c605877f5c231a2a8b1838fe8bd;p=dcpomatic.git diff --git a/src/lib/format.h b/src/lib/format.h index b4c691e56..7958ca534 100644 --- a/src/lib/format.h +++ b/src/lib/format.h @@ -46,7 +46,10 @@ public: /** @return the ratio as a floating point number */ virtual float ratio_as_float (boost::shared_ptr f) const = 0; - int dcp_padding (boost::shared_ptr f) const; + /** @return the ratio of the container (including any padding) as a floating point number */ + float container_ratio_as_float () const; + + int dcp_padding (boost::shared_ptr) const; /** @return size in pixels of the images that we should * put in a DCP for this ratio. This size will not correspond