#include "util.h"
#include "film.h"
#include "transcode_job.h"
-#include "raw_convert.h"
+#include <dcp/raw_convert.h>
#include <boost/asio.hpp>
#include <boost/bind.hpp>
#include <boost/thread.hpp>
using boost::shared_ptr;
using boost::dynamic_pointer_cast;
using boost::asio::ip::tcp;
+using dcp::raw_convert;
#define MAX_LENGTH 512
JSONServer::JSONServer (int port)
{
- new thread (boost::bind (&JSONServer::run, this, port));
+ thread* t = new thread (boost::bind (&JSONServer::run, this, port));
+#ifdef DCPOMATIC_LINUX
+ pthread_setname_np (t->native_handle(), "json-server");
+#endif
}
void