Browse Source

Timeline: Order region finalization to ensure correct logging.

tags/non-daw-v1.2.0
Jonathan Moore Liles 11 years ago
parent
commit
2ea366a409
1 changed files with 3 additions and 2 deletions
  1. +3
    -2
      timeline/src/Engine/Track.C

+ 3
- 2
timeline/src/Engine/Track.C View File

@@ -355,13 +355,14 @@ Track::finalize ( Capture *c, nframes_t frame )


timeline->wrlock(); timeline->wrlock();


c->region->finalize( frame );

DMESSAGE( "Adjusting capture by %lu frames.", (unsigned long)_capture_offset ); DMESSAGE( "Adjusting capture by %lu frames.", (unsigned long)_capture_offset );


c->region->offset( _capture_offset ); c->region->offset( _capture_offset );
_capture_offset = 0; _capture_offset = 0;


/* have to do this last, as it logs the create */
c->region->finalize( frame );

timeline->unlock(); timeline->unlock();
} }




Loading…
Cancel
Save