summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCarl Hetherington <cth@carlh.net>2021-12-03 17:16:53 +0100
committerCarl Hetherington <cth@carlh.net>2021-12-03 21:23:07 +0100
commit6d29ca45eb2e507521b7e07107516828a3b2d86b (patch)
treeff652a0271bb964207d860a11f851d8749373217
parenta1e70f87e43e5efe520d5ab9b384437e375567e0 (diff)
Remove some unused code.
-rw-r--r--src/wx/timing_panel.cc22
1 files changed, 0 insertions, 22 deletions
diff --git a/src/wx/timing_panel.cc b/src/wx/timing_panel.cc
index 31b160542..44bbd3ee0 100644
--- a/src/wx/timing_panel.cc
+++ b/src/wx/timing_panel.cc
@@ -285,28 +285,6 @@ TimingPanel::film_content_changed (int property)
update_play_length ();
}
- if (property == ContentProperty::VIDEO_FRAME_RATE) {
- set<double> check_vc;
- shared_ptr<const Content> content;
- int count_ac = 0;
- int count_sc = 0;
- for (auto i: _parent->selected()) {
- if (i->video && i->video_frame_rate()) {
- check_vc.insert (i->video_frame_rate().get());
- content = i;
- }
- if (i->audio && i->video_frame_rate()) {
- ++count_ac;
- content = i;
- }
- if (!i->text.empty() && i->video_frame_rate()) {
- ++count_sc;
- content = i;
- }
-
- }
- }
-
bool have_still = false;
for (auto i: _parent->selected()) {
shared_ptr<const ImageContent> ic = dynamic_pointer_cast<const ImageContent> (i);