13
0

Reset pending_locate_roll in all cases, not just when the

roll happened; should help with #5047.


git-svn-id: svn://localhost/ardour2/branches/3.0@13158 d708f5d6-7413-0410-9779-e7cbd77b26cf
This commit is contained in:
Carl Hetherington 2012-09-01 11:24:17 +00:00
parent 3eaadafd31
commit c779474c13

View File

@ -645,8 +645,12 @@ Session::non_realtime_stop (bool abort, int on_entry, bool& finished)
if ((ptw & PostTransportLocate) && !config.get_external_sync() && pending_locate_roll) {
request_transport_speed (1.0);
pending_locate_roll = false;
}
/* Even if we didn't do a pending locate roll this time, we don't want it hanging
around for next time.
*/
pending_locate_roll = false;
}
void
@ -850,7 +854,7 @@ Session::locate (framepos_t target_frame, bool with_roll, bool with_flush, bool
* though, is all the housekeeping that is associated with non-linear
* changes in the value of _transport_frame.
*/
if (actively_recording() && !for_seamless_loop) {
return;
}