diff options
Diffstat (limited to 'src/lib/config.h')
| -rw-r--r-- | src/lib/config.h | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/src/lib/config.h b/src/lib/config.h index 40b655342..0839ea994 100644 --- a/src/lib/config.h +++ b/src/lib/config.h @@ -90,6 +90,10 @@ public: return _servers; } + bool only_servers_encode () const { + return _only_servers_encode; + } + Protocol tms_protocol () const { return _tms_protocol; } @@ -251,6 +255,10 @@ public: maybe_set (_server_port_base, p); } + void set_only_servers_encode (bool o) { + maybe_set (_only_servers_encode, o); + } + void set_tms_protocol (Protocol p) { maybe_set (_tms_protocol, p); } @@ -455,6 +463,7 @@ private: bool _use_any_servers; /** J2K encoding servers that should definitely be used */ std::vector<std::string> _servers; + bool _only_servers_encode; Protocol _tms_protocol; /** The IP address of a TMS that we can copy DCPs to */ std::string _tms_ip; |
