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

pull/43/head
Jonathan Moore Liles 2013-03-12 17:56:50 -07:00
parent 551ace4547
commit 525470392a
1 changed files with 3 additions and 0 deletions

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;