Commit 85de975b authored by Alexandru Băluț's avatar Alexandru Băluț

previewers: Make sure VideoPreviewer is controlled when there is work to do

The PreviewGeneratorManager class starts the previewers, but once they
are done, there was nothing to reschedule them for running if the zoom
changes, etc.

Fixes Thibault Saunier's avatarThibault Saunier <>
Differential Revision:
parent b790708b
......@@ -295,7 +295,6 @@ Gst.Element.register(None, "teedthumbnailbin", Gst.Rank.NONE,
# pylint: disable=too-few-public-methods
class PreviewGeneratorManager(Loggable):
"""Manager for running the previewers."""
......@@ -612,6 +611,8 @@ class VideoPreviewer(Previewer, Zoomable, Loggable):
self.thumbs = thumbs
self.queue = queue
if queue:
def _set_pixbuf(self, position, pixbuf):
"""Sets the pixbuf for the thumbnail at the specified position."""
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment