diff options
Diffstat (limited to 'src/wx/film_viewer.cc')
| -rw-r--r-- | src/wx/film_viewer.cc | 10 |
1 files changed, 9 insertions, 1 deletions
diff --git a/src/wx/film_viewer.cc b/src/wx/film_viewer.cc index 957407338..0efa75380 100644 --- a/src/wx/film_viewer.cc +++ b/src/wx/film_viewer.cc @@ -864,7 +864,15 @@ FilmViewer::gets () const void FilmViewer::image_changed (shared_ptr<PlayerVideo> pv) { - emit (boost::bind(boost::ref(ImageChanged), pv)); + _last_image = pv; + emit(boost::bind(boost::ref(ImageChanged))); +} + + +shared_ptr<const PlayerVideo> +FilmViewer::last_image() const +{ + return _last_image; } |
