Note and indicate servers with bad link version (#982).
[dcpomatic.git] / src / lib / j2k_encoder.cc
index 3d1df688c2d718cc2da9a4b2a0c8e00a3a4d6b33..bbd602dd097bf08a8a44ef312d6c624454e2de5a 100644 (file)
@@ -412,7 +412,7 @@ J2KEncoder::servers_list_changed ()
                }
        }
 
-       BOOST_FOREACH (EncodeServerDescription i, EncodeServerFinder::instance()->servers ()) {
+       BOOST_FOREACH (EncodeServerDescription i, EncodeServerFinder::instance()->good_servers ()) {
                LOG_GENERAL (N_("Adding %1 worker threads for remote %2"), i.threads(), i.host_name ());
                for (int j = 0; j < i.threads(); ++j) {
                        _threads.push_back (new boost::thread (boost::bind (&J2KEncoder::encoder_thread, this, i)));