[Summary] Fixed loop processing in cases when loop is moved/resized

[Reviewed by] REQUIRED REVIEW FROM PAUL DAVIS
This commit is contained in:
GZharun 2015-02-17 14:20:42 +02:00
parent 7dd6b59be4
commit 90b06ce712

View file

@ -461,7 +461,9 @@ Session::non_realtime_locate ()
*/
set_track_loop (false);
} else if (loc && Config->get_seamless_loop() && (loc->start() == _transport_frame)) {
} else if (loc && Config->get_seamless_loop() &&
((loc->start() <= _transport_frame) ||
(loc->end() > _transport_frame) ) ) {
/* jumping to start of loop. This might have been done before but it is
* idempotent and cheap. Doing it here ensures that when we start playback