diff options
| author | Carl Hetherington <cth@carlh.net> | 2020-04-09 00:49:35 +0200 |
|---|---|---|
| committer | Carl Hetherington <cth@carlh.net> | 2020-04-09 00:49:35 +0200 |
| commit | a16523af5f70b60f4890f198f6214177077a9c1d (patch) | |
| tree | 8f3f3a9001894564ae491709250172c292da8425 /src/tools | |
| parent | be2e6884aafa58053a0707bc629ae8c56dbf1eb5 (diff) | |
Improve disk_writer_messages.h commenting and add DISK_WRITER_QUIT and DISK_WRITER_WRITE #defines.
Diffstat (limited to 'src/tools')
| -rw-r--r-- | src/tools/dcpomatic_disk_writer.cc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/tools/dcpomatic_disk_writer.cc b/src/tools/dcpomatic_disk_writer.cc index 0bd5dcbc4..9518ac555 100644 --- a/src/tools/dcpomatic_disk_writer.cc +++ b/src/tools/dcpomatic_disk_writer.cc @@ -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(); |
