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-02-16 01:20:17 +0100
commit5af584d7454b87e338498ffc8692918024e0868b (patch)
treecaff06ada1c4500ab0a1f7e6a83f4e079baeab67 /src/wx
parent987d5bec15a752bbc3d914035e5ab34d5c9b4efe (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());
}
}