From 525470392a2101aada6f76ab577982d4147791dc Mon Sep 17 00:00:00 2001 From: Jonathan Moore Liles Date: Tue, 12 Mar 2013 17:56:50 -0700 Subject: [PATCH] Timeline: Don't attempt to build peaks for dummy sources. --- timeline/src/Engine/Peaks.C | 3 +++ 1 file changed, 3 insertions(+) diff --git a/timeline/src/Engine/Peaks.C b/timeline/src/Engine/Peaks.C index 9e9e6d2..2c59f04 100644 --- a/timeline/src/Engine/Peaks.C +++ b/timeline/src/Engine/Peaks.C @@ -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;