class Scaler;
class Filter;
class SoundProcessor;
-class Format;
class DCPContentType;
+class Ratio;
/** @class Config
* @brief A singleton class holding configuration.
return _default_still_length;
}
- Format const * default_format () const {
- return _default_format;
+ Ratio const * default_container () const {
+ return _default_container;
}
DCPContentType const * default_dcp_content_type () const {
_default_still_length = s;
}
- void set_default_format (Format const * f) {
- _default_format = f;
+ void set_default_container (Ratio const * c) {
+ _default_container = c;
}
void set_default_dcp_content_type (DCPContentType const * t) {
private:
Config ();
std::string file (bool) const;
+ void read ();
void read_old_metadata ();
/** number of threads to use for J2K encoding on the local machine */
DCIMetadata _default_dci_metadata;
boost::optional<std::string> _language;
int _default_still_length;
- Format const * _default_format;
+ Ratio const * _default_container;
DCPContentType const * _default_dcp_content_type;
libdcp::XMLMetadata _dcp_metadata;