Various thread cleanups.
[dcpomatic.git] / src / lib / writer.h
index 5fe96a3ac94eee955cd9ac1429e86986e4da2f15..d304133dcb98f2c3d380e191fda78d0d0eef61b1 100644 (file)
@@ -131,8 +131,8 @@ private:
        std::vector<ReelWriter>::iterator _subtitle_reel;
        std::map<DCPTextTrack, std::vector<ReelWriter>::iterator> _caption_reels;
 
-       /** our thread, or 0 */
-       boost::thread* _thread;
+       /** our thread */
+       boost::thread _thread;
        /** true if our thread should finish */
        bool _finish;
        /** queue of things to write to disk */