Speed up timeline drags in some cases.
authorCarl Hetherington <cth@carlh.net>
Fri, 8 Jun 2018 15:03:41 +0000 (16:03 +0100)
committerCarl Hetherington <cth@carlh.net>
Fri, 8 Jun 2018 15:03:41 +0000 (16:03 +0100)
src/lib/film.cc

index ccc92f0..98ae2e5 100644 (file)
@@ -1174,6 +1174,10 @@ Film::audio_frame_rate () const
 void
 Film::set_sequence (bool s)
 {
+       if (s == _sequence) {
+               return;
+       }
+
        _sequence = s;
        _playlist->set_sequence (s);
        signal_changed (SEQUENCE);