Skip to content

Commit

Permalink
ui/previewer: remove the correct segment from the queue.
Browse files Browse the repository at this point in the history
This fixes a bug that caused waveforms not to be drawn sometimes.
  • Loading branch information
alessandrod committed Sep 10, 2010
1 parent 255a1e1 commit 496b017
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions pitivi/ui/previewer.py
Expand Up @@ -294,8 +294,7 @@ def _finishThumbnail(self, surface, segment):
self._cache[segment] = surface
self.emit("update", segment)

if segment in self._queue:
self._queue.remove(segment)
self._queue.remove(waiting)
self._nextThumbnail()
return False

Expand Down

0 comments on commit 496b017

Please sign in to comment.