Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

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

This fixes a bug that caused waveforms not to be drawn sometimes.
  • Loading branch information...
commit 496b017262732fed5df8135a5001f46f63c78b51 1 parent 255a1e1
@alessandrod alessandrod authored
Showing with 1 addition and 2 deletions.
  1. +1 −2  pitivi/ui/previewer.py
View
3  pitivi/ui/previewer.py
@@ -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

0 comments on commit 496b017

Please sign in to comment.
Something went wrong with that request. Please try again.