Fix display of no-scale mode in the player; the image still has to be scaled for...
[dcpomatic.git] / src / lib / video_content.h
index c98a52d3a7cc17c842ddcde6634cf7951d362541..ea4676cecbe1607fe4a86e47a71c278e763e86b2 100644 (file)
@@ -45,7 +45,7 @@ public:
        VideoContentScale (bool);
        VideoContentScale (boost::shared_ptr<cxml::Node>);
 
-       libdcp::Size size (boost::shared_ptr<const VideoContent>, libdcp::Size) const;
+       libdcp::Size size (boost::shared_ptr<const VideoContent>, libdcp::Size, libdcp::Size) const;
        std::string id () const;
        std::string name () const;
        void as_xml (xmlpp::Node *) const;
@@ -64,7 +64,9 @@ public:
        }
 
 private:
+       /** a ratio to stretch the content to, or 0 for no stretch */
        Ratio const * _ratio;
+       /** true if we want to scale the content */
        bool _scale;
 
        static std::vector<VideoContentScale> _scales;