Permalink
Browse files

Revert "ui/previewer: remove the correct segment from the queue."

This reverts commit bc6cb426226ce06f217b43bf0ea12bf9e1f56099.
The bug was actually somewhere else. Doh.
  • Loading branch information...
1 parent 9f8ab2e commit 090b8bff2b9f0ba4eb280ad5d2014ca5b9a8e17b @alessandrod alessandrod committed Sep 10, 2010
Showing with 2 additions and 1 deletion.
  1. +2 −1 pitivi/ui/previewer.py
View
3 pitivi/ui/previewer.py
@@ -294,7 +294,8 @@ def _finishThumbnail(self, surface, segment):
self._cache[segment] = surface
self.emit("update", segment)
- self._queue.remove(waiting)
+ if segment in self._queue:
+ self._queue.remove(segment)
self._nextThumbnail()
return False

0 comments on commit 090b8bf

Please sign in to comment.