Remove some unused code.
authorCarl Hetherington <cth@carlh.net>
Fri, 3 Dec 2021 16:16:53 +0000 (17:16 +0100)
committerCarl Hetherington <cth@carlh.net>
Fri, 3 Dec 2021 20:23:07 +0000 (21:23 +0100)
src/wx/timing_panel.cc

index 31b1605421c6258e25a2de8bf6a6bb744d1eb40e..44bbd3ee0ca168d8042128ae64cde2acfa14c8eb 100644 (file)
@@ -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);