diff options
| author | Carl Hetherington <cth@carlh.net> | 2014-09-07 21:49:36 +0100 |
|---|---|---|
| committer | Carl Hetherington <cth@carlh.net> | 2014-09-07 21:49:36 +0100 |
| commit | 4956be4e16570fa6b6985b11d4d689308343ffbb (patch) | |
| tree | a08208b060fd73392841a68be77fd3639bb67a5e /src/lib/config.h | |
| parent | 5a0b2926fbc57ecdecc6c9a865c9683224be4ee6 (diff) | |
Use VideoContentScale rather than Ratio for the default scale to.
Diffstat (limited to 'src/lib/config.h')
| -rw-r--r-- | src/lib/config.h | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/src/lib/config.h b/src/lib/config.h index 4f6b57f56..0639382a0 100644 --- a/src/lib/config.h +++ b/src/lib/config.h @@ -31,6 +31,7 @@ #include "isdcf_metadata.h" #include "colour_conversion.h" #include "server.h" +#include "video_content.h" class ServerDescription; class Scaler; @@ -132,7 +133,7 @@ public: return _default_still_length; } - Ratio const * default_scale () const { + VideoContentScale default_scale () const { return _default_scale; } @@ -293,7 +294,7 @@ public: changed (); } - void set_default_scale (Ratio const * s) { + void set_default_scale (VideoContentScale s) { _default_scale = s; changed (); } @@ -441,7 +442,7 @@ private: ISDCFMetadata _default_isdcf_metadata; boost::optional<std::string> _language; int _default_still_length; - Ratio const * _default_scale; + VideoContentScale _default_scale; Ratio const * _default_container; DCPContentType const * _default_dcp_content_type; std::string _dcp_issuer; |
