diff options
| author | Carl Hetherington <cth@carlh.net> | 2013-07-09 22:16:46 +0100 |
|---|---|---|
| committer | Carl Hetherington <cth@carlh.net> | 2013-07-09 22:16:46 +0100 |
| commit | df52b97f307605aad15ab5f01c8fdcf93afc9d15 (patch) | |
| tree | f7babd41e71985c611f3632395c52535f1c36f17 /src/lib/player.h | |
| parent | 89115db77729a2c99f1a09ff6a461720e16f889e (diff) | |
Various fixes; simplification of FilmViewer; make image appear on first load of content.
Diffstat (limited to 'src/lib/player.h')
| -rw-r--r-- | src/lib/player.h | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/src/lib/player.h b/src/lib/player.h index bbdb14ec2..3f8d59d29 100644 --- a/src/lib/player.h +++ b/src/lib/player.h @@ -26,6 +26,7 @@ #include "playlist.h" #include "audio_buffers.h" #include "content.h" +#include "film.h" class Job; class Film; @@ -67,6 +68,12 @@ public: /** Emitted when some audio data is ready */ boost::signals2::signal<void (boost::shared_ptr<const AudioBuffers>, Time)> Audio; + /** Emitted when something has changed such that if we went back and emitted + * the last frame again it would look different. This is not emitted after + * a seek. + */ + boost::signals2::signal<void ()> Changed; + private: void process_video (boost::weak_ptr<Piece>, boost::shared_ptr<const Image>, bool, VideoContent::Frame); @@ -79,6 +86,7 @@ private: void emit_black (); void emit_silence (OutputAudioFrame); boost::shared_ptr<Resampler> resampler (boost::shared_ptr<AudioContent>); + void film_changed (Film::Property); boost::shared_ptr<const Film> _film; boost::shared_ptr<const Playlist> _playlist; |
