summaryrefslogtreecommitdiff
path: root/src/lib/decoder.h
diff options
context:
space:
mode:
authorCarl Hetherington <cth@carlh.net>2012-10-24 22:13:53 +0100
committerCarl Hetherington <cth@carlh.net>2012-10-24 22:13:53 +0100
commit63ea6b6c5ee64f8ee067c2b488d004b6dfe363e0 (patch)
treed248762556466fd076cfd20f2e6aa1d5d9544184 /src/lib/decoder.h
parent977b36672892b14de4ecb68e98415c64946e8a93 (diff)
Use boost::signals2; fix bugs with x-thread signalling.
Diffstat (limited to 'src/lib/decoder.h')
-rw-r--r--src/lib/decoder.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/lib/decoder.h b/src/lib/decoder.h
index ed7eaeb17..39eaaf48e 100644
--- a/src/lib/decoder.h
+++ b/src/lib/decoder.h
@@ -28,7 +28,7 @@
#include <string>
#include <stdint.h>
#include <boost/shared_ptr.hpp>
-#include <sigc++/sigc++.h>
+#include <boost/signals2.hpp>
#include "util.h"
#include "stream.h"
@@ -92,10 +92,10 @@ public:
* Second parameter is its index within the content.
* Third parameter is either 0 or a subtitle that should be on this frame.
*/
- sigc::signal<void, boost::shared_ptr<Image>, int, boost::shared_ptr<Subtitle> > Video;
+ boost::signals2::signal<void (boost::shared_ptr<Image>, int, boost::shared_ptr<Subtitle>)> Video;
/** Emitted when some audio data is ready */
- sigc::signal<void, boost::shared_ptr<AudioBuffers> > Audio;
+ boost::signals2::signal<void (boost::shared_ptr<AudioBuffers>)> Audio;
protected:
/** perform a single pass at our content */