diff options
| author | Carl Hetherington <cth@carlh.net> | 2015-12-06 20:17:47 +0000 |
|---|---|---|
| committer | Carl Hetherington <cth@carlh.net> | 2015-12-11 11:56:23 +0000 |
| commit | 6fa353595ce8f784b7d5004a6c38c78bddae94c7 (patch) | |
| tree | d50c1273d519d97f3c4ad5e6ca4532f3ecbaa6d9 /src/tools/dcpomatic_server_cli.cc | |
| parent | 17df947ac256397311a11894062070f8069c7e75 (diff) | |
Split EncodeServer into that and Server.
Diffstat (limited to 'src/tools/dcpomatic_server_cli.cc')
| -rw-r--r-- | src/tools/dcpomatic_server_cli.cc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/tools/dcpomatic_server_cli.cc b/src/tools/dcpomatic_server_cli.cc index 8f343b344..336d578ee 100644 --- a/src/tools/dcpomatic_server_cli.cc +++ b/src/tools/dcpomatic_server_cli.cc @@ -110,10 +110,10 @@ main (int argc, char* argv[]) log.reset (new NullLog); } - EncodeServer server (log, verbose); + EncodeServer server (log, verbose, num_threads); try { - server.run (num_threads); + server.run (); } catch (boost::system::system_error& e) { if (e.code() == boost::system::errc::address_in_use) { cerr << argv[0] << ": address already in use. Is another DCP-o-matic server instance already running?\n"; |
