Clear out _next_time when seeking, so out-of-date values don't
[dcpomatic.git] / src / lib / encode_server.h
index 40e84ad6029d9d7ff28d6f942923e989ffe7f549..a43cea7efea8228a02a06d063766bd861948477f 100644 (file)
@@ -54,7 +54,7 @@ private:
        void broadcast_thread ();
        void broadcast_received ();
 
-       std::vector<boost::thread> _worker_threads;
+       boost::thread_group _worker_threads;
        std::list<boost::shared_ptr<Socket> > _queue;
        boost::condition _full_condition;
        boost::condition _empty_condition;