diff options
| author | Carl Hetherington <cth@carlh.net> | 2017-05-23 14:52:08 +0100 |
|---|---|---|
| committer | Carl Hetherington <cth@carlh.net> | 2017-05-23 14:52:08 +0100 |
| commit | 666d0b238f32c0383068d3d8f3936f46c4e67a14 (patch) | |
| tree | 1a1a39893432d78008f2311df03e40d4477cd715 /src/lib/encoder.h | |
| parent | 9c262e6cc1cc7d365dc9f5a66162158e1623e4f2 (diff) | |
Try to stop crashes when tests are torn down.
Diffstat (limited to 'src/lib/encoder.h')
| -rw-r--r-- | src/lib/encoder.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/lib/encoder.h b/src/lib/encoder.h index 79ad0ab44..645401952 100644 --- a/src/lib/encoder.h +++ b/src/lib/encoder.h @@ -24,6 +24,7 @@ #include "types.h" #include "player_subtitles.h" #include <boost/weak_ptr.hpp> +#include <boost/signals2.hpp> class Film; class Encoder; @@ -55,6 +56,10 @@ protected: boost::shared_ptr<const Film> _film; boost::weak_ptr<Job> _job; boost::shared_ptr<Player> _player; + + boost::signals2::scoped_connection _player_video_connection; + boost::signals2::scoped_connection _player_audio_connection; + boost::signals2::scoped_connection _player_subtitle_connection; }; #endif |
