Swap a log for a more informative one.
authorCarl Hetherington <cth@carlh.net>
Wed, 18 Oct 2023 20:59:19 +0000 (22:59 +0200)
committerCarl Hetherington <cth@carlh.net>
Wed, 29 Nov 2023 20:20:31 +0000 (21:20 +0100)
src/lib/j2k_encoder.cc
src/lib/make_dcp.cc

index a9870da5d746c1c909260146900f5dd1b20f080a..de229113b3a93234f9af47d91c17c1133ae8575f 100644 (file)
@@ -364,12 +364,10 @@ J2KEncoder::terminate_threads ()
 
 
 void
-#ifdef DCPOMATIC_GROK
 J2KEncoder::remake_threads(int cpu, int gpu, list<EncodeServerDescription> servers)
-#else
-J2KEncoder::remake_threads(int cpu, int, list<EncodeServerDescription> servers)
-#endif
 {
+       LOG_GENERAL("Making threads: CPU=%1, GPU=%2, Remote=%3", cpu, gpu, servers.size());
+
        boost::mutex::scoped_lock lm (_threads_mutex);
        if (_ending) {
                return;
index d8d42f49a312a73fc6237b62e02fb731c86c0235..ddd231243b7d83f744ae2966111d15255c7a6989 100644 (file)
@@ -91,11 +91,6 @@ make_dcp (shared_ptr<Film> film, TranscodeJob::ChangedBehaviour behaviour)
                LOG_GENERAL ("Content: %1", content->technical_summary());
        }
        LOG_GENERAL ("DCP video rate %1 fps", film->video_frame_rate());
-       if (Config::instance()->only_servers_encode()) {
-               LOG_GENERAL_NC ("0 threads: ONLY SERVERS SET TO ENCODE");
-       } else {
-               LOG_GENERAL ("%1 threads", Config::instance()->master_encoding_threads());
-       }
        LOG_GENERAL ("J2K bandwidth %1", film->j2k_bandwidth());
 
        auto tj = make_shared<DCPTranscodeJob>(film, behaviour);