Browse Source

Timeline: Don't attempt to build peaks for dummy sources.

tags/non-daw-v1.2.0
Jonathan Moore Liles 12 years ago
parent
commit
525470392a
1 changed files with 3 additions and 0 deletions
  1. +3
    -0
      timeline/src/Engine/Peaks.C

+ 3
- 0
timeline/src/Engine/Peaks.C View File

@@ -439,6 +439,9 @@ Peaks::peakfile_ready ( void ) const
void
Peaks::make_peaks_asynchronously ( void(*callback)(void*), void *userdata ) const
{
if ( _clip->dummy() )
return;

/* already working on it... */
if( _first_block_pending || _mipmaps_pending )
return;


Loading…
Cancel
Save