fix a long-standing bug arising from a change to some logic which reversed an "is...
authorPaul Davis <paul@linuxaudiosystems.com>
Tue, 22 Sep 2015 17:21:44 +0000 (13:21 -0400)
committerPaul Davis <paul@linuxaudiosystems.com>
Mon, 28 Sep 2015 21:42:11 +0000 (17:42 -0400)
libs/ardour/session_transport.cc

index 7341e3932dc7603bac5b844a17f1d4607bfe607a..dbff4c0838d0483efc37ffa10b6cc460248cedb9 100644 (file)
@@ -1112,8 +1112,8 @@ Session::locate (framepos_t target_frame, bool with_roll, bool with_flush, bool
         */
 
        bool transport_was_stopped = !transport_rolling();
-
-       if (transport_was_stopped && (!auto_play_legal || !config.get_auto_play()) && !with_roll && !(synced_to_engine() && play_loop) &&
+       
+       if (!transport_was_stopped && (!auto_play_legal || !config.get_auto_play()) && !with_roll && !(synced_to_engine() && play_loop) &&
            (!Profile->get_trx() || !(config.get_external_sync() && !synced_to_engine()))) {
                realtime_stop (false, true); // XXX paul - check if the 2nd arg is really correct
                transport_was_stopped = true;