Improve disk_writer_messages.h commenting and add DISK_WRITER_QUIT and DISK_WRITER_WR...
[dcpomatic.git] / src / tools / dcpomatic_disk_writer.cc
index 0bd5dcbc451c80c5875450f3e44105bf4cbae03c..9518ac555a1f2afdabf2d4cef776f2c831c2f008 100644 (file)
@@ -386,9 +386,9 @@ idle ()
                return true;
        }
 
-       if (*s == "Q") {
+       if (*s == DISK_WRITER_QUIT) {
                exit (EXIT_SUCCESS);
-       } else if (*s == "W") {
+       } else if (*s == DISK_WRITER_WRITE) {
                dcp_path = nanomsg->blocking_get();
                device = nanomsg->blocking_get();