summaryrefslogtreecommitdiff
path: root/src/lib/hints.h
diff options
context:
space:
mode:
authorCarl Hetherington <cth@carlh.net>2019-01-26 22:42:18 +0000
committerCarl Hetherington <cth@carlh.net>2019-01-26 22:42:18 +0000
commit755b9af051c73dae5fffbe613fc45d9fd4fbd08d (patch)
tree8efc5a92b62f0e9e04f6593ddab896cd42c22e38 /src/lib/hints.h
parent0985598b244ec2b82714a422e5d8381a08c6da35 (diff)
Fix hints object so that its lifetime is (nearly) the same as its thread.
Then when the thread AND Hints object are destroyed we get the Signaller's destructor stuff to stop left-over hint signals being delivered. Also add a hint about > 30fps DCP rates.
Diffstat (limited to 'src/lib/hints.h')
-rw-r--r--src/lib/hints.h3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/lib/hints.h b/src/lib/hints.h
index 35e361842..6f0e533d4 100644
--- a/src/lib/hints.h
+++ b/src/lib/hints.h
@@ -1,5 +1,5 @@
/*
- Copyright (C) 2016 Carl Hetherington <cth@carlh.net>
+ Copyright (C) 2016-2019 Carl Hetherington <cth@carlh.net>
This file is part of DCP-o-matic.
@@ -45,7 +45,6 @@ public:
private:
void thread ();
- void stop_thread ();
void hint (std::string h);
void text (PlayerText text, TextType type, DCPTimePeriod period);