Timeline: Order region finalization to ensure correct logging.
This commit is contained in:
parent
97573f0299
commit
2ea366a409
|
@ -355,13 +355,14 @@ Track::finalize ( Capture *c, nframes_t frame )
|
|||
|
||||
timeline->wrlock();
|
||||
|
||||
c->region->finalize( frame );
|
||||
|
||||
DMESSAGE( "Adjusting capture by %lu frames.", (unsigned long)_capture_offset );
|
||||
|
||||
c->region->offset( _capture_offset );
|
||||
_capture_offset = 0;
|
||||
|
||||
/* have to do this last, as it logs the create */
|
||||
c->region->finalize( frame );
|
||||
|
||||
timeline->unlock();
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue