X-Git-Url: https://git.carlh.net/gitweb/?a=blobdiff_plain;f=src%2Flib%2Fencoder.cc;h=da6c969052f4a4d8e59f37043263b2c3fa258851;hb=a5095486e606adfe36de635a48710cf98872c1c6;hp=0c9faa70d331bb722d70ffd17ba924456e344133;hpb=e491397c0028a80ac4a48a92007f783746553c1a;p=dcpomatic.git diff --git a/src/lib/encoder.cc b/src/lib/encoder.cc index 0c9faa70d..da6c96905 100644 --- a/src/lib/encoder.cc +++ b/src/lib/encoder.cc @@ -21,9 +21,6 @@ * @brief Parent class for classes which can encode video and audio frames. */ -#include -#include -#include #include "encoder.h" #include "util.h" #include "film.h" @@ -36,6 +33,9 @@ #include "server_finder.h" #include "player.h" #include "player_video.h" +#include +#include +#include #include "i18n.h" @@ -80,7 +80,7 @@ Encoder::~Encoder () void Encoder::add_worker_threads (ServerDescription d) { - LOG_GENERAL (N_("Adding %1 worker threads for remote %2"), d.host_name ()); + LOG_GENERAL (N_("Adding %1 worker threads for remote %2"), d.threads(), d.host_name ()); for (int i = 0; i < d.threads(); ++i) { _threads.push_back (new boost::thread (boost::bind (&Encoder::encoder_thread, this, d))); }