diff options
| author | Carl Hetherington <cth@carlh.net> | 2019-12-19 14:55:22 +0100 |
|---|---|---|
| committer | Carl Hetherington <cth@carlh.net> | 2020-01-12 22:47:45 +0100 |
| commit | 83f28a7c67794c0a9e48c8016db11585939e4d5d (patch) | |
| tree | 880a4571a8eec7bbd82603c293321e8d82e693cd /src/wx | |
| parent | c92acd49137a75ba707b11bbebac8b8f80b9e9ac (diff) | |
Remove some unused things in PlayerVideo.
Diffstat (limited to 'src/wx')
| -rw-r--r-- | src/wx/film_viewer.cc | 2 | ||||
| -rw-r--r-- | src/wx/video_view.cc | 4 | ||||
| -rw-r--r-- | src/wx/video_view.h | 2 |
3 files changed, 4 insertions, 4 deletions
diff --git a/src/wx/film_viewer.cc b/src/wx/film_viewer.cc index 9c3a9c81e..16c825175 100644 --- a/src/wx/film_viewer.cc +++ b/src/wx/film_viewer.cc @@ -425,7 +425,7 @@ FilmViewer::quick_refresh () if (!_video_view || !_film) { return true; } - return _video_view->refresh_metadata (_film, _player->video_container_size(), _film->frame_size()); + return _video_view->refresh_metadata (_player->video_container_size()); } void diff --git a/src/wx/video_view.cc b/src/wx/video_view.cc index 014524757..657b68cf6 100644 --- a/src/wx/video_view.cc +++ b/src/wx/video_view.cc @@ -117,14 +117,14 @@ VideoView::start () } bool -VideoView::refresh_metadata (shared_ptr<const Film> film, dcp::Size video_container_size, dcp::Size film_frame_size) +VideoView::refresh_metadata (dcp::Size video_container_size) { pair<shared_ptr<PlayerVideo>, dcpomatic::DCPTime> pv = player_video (); if (!pv.first) { return false; } - if (!pv.first->reset_metadata (film, video_container_size, film_frame_size)) { + if (!pv.first->reset_metadata (video_container_size)) { return false; } diff --git a/src/wx/video_view.h b/src/wx/video_view.h index f9e067043..73de8282c 100644 --- a/src/wx/video_view.h +++ b/src/wx/video_view.h @@ -53,7 +53,7 @@ public: virtual bool display_next_frame (bool) = 0; void clear (); - bool refresh_metadata (boost::shared_ptr<const Film> film, dcp::Size video_container_size, dcp::Size film_frame_size); + bool refresh_metadata (dcp::Size video_container_size); /** Emitted from the GUI thread when our display changes in size */ boost::signals2::signal<void()> Sized; |
