diff options
| author | Carl Hetherington <cth@carlh.net> | 2023-03-13 00:40:02 +0100 |
|---|---|---|
| committer | Carl Hetherington <cth@carlh.net> | 2023-03-16 00:44:42 +0100 |
| commit | 2fa10f124d5d68c5782282d18959962c355cb836 (patch) | |
| tree | 6ed8f1d68dbdc83ca2a501bbe25cfd51ae8b2307 | |
| parent | 5031583d45449f8b49900496a2a46683bac68ad6 (diff) | |
Remove believed-unnecessary refresh.
I think this is unnnecessary because the VIDEO_CONTAINER_SIZE change
will come back from the player and the refresh will be done then.
Also the player checks to see if the new size is different to the old one,
and doesn't do the refresh if not, which is more efficient.
| -rw-r--r-- | src/wx/film_viewer.cc | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/src/wx/film_viewer.cc b/src/wx/film_viewer.cc index 7a4fcd364..6f0c33768 100644 --- a/src/wx/film_viewer.cc +++ b/src/wx/film_viewer.cc @@ -285,9 +285,6 @@ void FilmViewer::video_view_sized () { calculate_sizes (); - if (!quick_refresh()) { - slow_refresh (); - } } |
