summaryrefslogtreecommitdiff
path: root/src/lib
diff options
context:
space:
mode:
authorCarl Hetherington <cth@carlh.net>2012-07-25 03:22:16 +0100
committerCarl Hetherington <cth@carlh.net>2012-07-25 03:22:16 +0100
commit3d4faebe28da789a9083e6a2cc0b345df6c17306 (patch)
tree0cb0cd06c838a541ae0261a3efa6caa9e4f2b919 /src/lib
parent26b9ae1e7700b545df4b5445a7efba412c2cbb68 (diff)
Some vague sort of progress.
Diffstat (limited to 'src/lib')
-rw-r--r--src/lib/util.cc4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/lib/util.cc b/src/lib/util.cc
index 799d0e54e..450ba5b8e 100644
--- a/src/lib/util.cc
+++ b/src/lib/util.cc
@@ -56,7 +56,9 @@ extern "C" {
#include "filter.h"
#include "screen.h"
#include "film_state.h"
+#ifndef DVDOMATIC_DISABLE_PLAYER
#include "player_manager.h"
+#endif
#ifdef DEBUG_HASH
#include <mhash.h>
@@ -398,7 +400,9 @@ SocketReader::read_indefinite (uint8_t* data, int size)
void
sigchld_handler (int, siginfo_t* info, void *)
{
+#ifndef DVDOMATIC_DISABLE_PLAYER
PlayerManager::instance()->child_exited (info->si_pid);
+#endif
}
#endif