summaryrefslogtreecommitdiff
path: root/src/wx
diff options
context:
space:
mode:
authorCarl Hetherington <cth@carlh.net>2024-12-06 17:45:47 +0100
committerCarl Hetherington <cth@carlh.net>2024-12-26 17:20:24 +0100
commit63e3cd7c11e9783feccd8213e7f3525bdf1cfd3d (patch)
treebffa338795fddfb5b67e524b4db1a6d5284a83dd /src/wx
parent8bfad2f1321042c00abbf7ef8d8486cb4f0af3f9 (diff)
Rename guess_crop -> guess_crop_by_brightness.
Diffstat (limited to 'src/wx')
-rw-r--r--src/wx/content_menu.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/wx/content_menu.cc b/src/wx/content_menu.cc
index ef4e87a80..30abe7416 100644
--- a/src/wx/content_menu.cc
+++ b/src/wx/content_menu.cc
@@ -562,7 +562,7 @@ ContentMenu::auto_crop ()
auto position = _viewer.position_in_content(_content.front()).get_value_or(
ContentTime::from_frames(_content.front()->video->length(), _content.front()->video_frame_rate().get_value_or(24))
);
- return guess_crop(film, _content.front(), Config::instance()->auto_crop_threshold(), position);
+ return guess_crop_by_brightness(film, _content.front(), Config::instance()->auto_crop_threshold(), position);
};
/* Make an initial guess in the view and open the dialog */