summaryrefslogtreecommitdiff
path: root/src/wx
diff options
context:
space:
mode:
authorCarl Hetherington <cth@carlh.net>2026-01-27 23:49:24 +0100
committerCarl Hetherington <cth@carlh.net>2026-01-29 00:20:31 +0100
commit9625a5430dd6885388e7a4c6ec56e579718a39e5 (patch)
treef1d13807563e4a516820f92bd421dadf34453649 /src/wx
parentfef192a0d55e38b30a7fcf8559869e43dcc536f3 (diff)
Remove another unnecessary Film parameter.
Diffstat (limited to 'src/wx')
-rw-r--r--src/wx/content_menu.cc4
-rw-r--r--src/wx/content_panel.cc2
2 files changed, 2 insertions, 4 deletions
diff --git a/src/wx/content_menu.cc b/src/wx/content_menu.cc
index 4691a581d..4892c42d0 100644
--- a/src/wx/content_menu.cc
+++ b/src/wx/content_menu.cc
@@ -536,9 +536,7 @@ ContentMenu::advanced()
}
if (dialog.video_frame_rate()) {
- auto film = _film.lock();
- DCPOMATIC_ASSERT(film);
- content->set_video_frame_rate(film, *dialog.video_frame_rate());
+ content->set_video_frame_rate(*dialog.video_frame_rate());
} else {
content->unset_video_frame_rate();
}
diff --git a/src/wx/content_panel.cc b/src/wx/content_panel.cc
index e3d51c37b..e00204fb3 100644
--- a/src/wx/content_panel.cc
+++ b/src/wx/content_panel.cc
@@ -662,7 +662,7 @@ ContentPanel::add_folder(boost::filesystem::path folder)
if (dialog.ShowModal() != wxID_OK) {
return;
}
- ic->set_video_frame_rate(_film, dialog.frame_rate());
+ ic->set_video_frame_rate(dialog.frame_rate());
}
}