summaryrefslogtreecommitdiff
path: root/src/wx
diff options
context:
space:
mode:
authorCarl Hetherington <cth@carlh.net>2024-09-11 00:25:55 +0200
committerCarl Hetherington <cth@carlh.net>2024-09-11 00:25:55 +0200
commit9e62be39253a1a8ac2da97b08bfaa2066ced2ed1 (patch)
tree2dec3e557d05659a8b5d1fb75240a7849652f47e /src/wx
parenta679f48c293885470127df9d87169134db2e0caf (diff)
Use FilmViewer::time() instead of FilmViewer::audio_time().
The previous line duplicated what's already in FilmViewer::time().
Diffstat (limited to 'src/wx')
-rw-r--r--src/wx/video_view.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/wx/video_view.cc b/src/wx/video_view.cc
index c271cb65e..29f01232a 100644
--- a/src/wx/video_view.cc
+++ b/src/wx/video_view.cc
@@ -115,7 +115,7 @@ VideoView::time_until_next_frame () const
}
auto const next = position() + one_video_frame();
- auto const time = _viewer->audio_time().get_value_or(position());
+ auto const time = _viewer->time();
if (next < time) {
return 0;
}