projects
/
dcpomatic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (from parent 1:
476ec5c
)
Hidden debug option to make _disk not start _disk_writer on Linux.
v2.15.76
author
Carl Hetherington
<cth@carlh.net>
Mon, 1 Jun 2020 20:47:17 +0000
(22:47 +0200)
committer
Carl Hetherington
<cth@carlh.net>
Mon, 1 Jun 2020 20:47:17 +0000
(22:47 +0200)
src/tools/dcpomatic_disk.cc
patch
|
blob
|
history
diff --git
a/src/tools/dcpomatic_disk.cc
b/src/tools/dcpomatic_disk.cc
index b23f09d85ac9223f27e390987888c4ac7ea8b9fa..6d87273031fb8590721e082fada9ce71b3735bca 100644
(file)
--- a/
src/tools/dcpomatic_disk.cc
+++ b/
src/tools/dcpomatic_disk.cc
@@
-130,8
+130,12
@@
public:
#endif
#ifdef DCPOMATIC_LINUX
#endif
#ifdef DCPOMATIC_LINUX
- LOG_DISK("Starting writer process %1", disk_writer_path().string());
- _writer = new boost::process::child (disk_writer_path());
+ if (getenv("DCPOMATIC_NO_START_WRITER")) {
+ LOG_DISK_NC("Not starting writer process as DCPOMATIC_NO_START_WRITER is set");
+ } else {
+ LOG_DISK("Starting writer process %1", disk_writer_path().string());
+ _writer = new boost::process::child (disk_writer_path());
+ }
#endif
#ifdef DCPOMATIC_OSX
#endif
#ifdef DCPOMATIC_OSX