Commit 06c9fa09 authored by Alexandru Băluț's avatar Alexandru Băluț

previewers: Fix animated thumb

We don't have a mechanism to retry failed thumbnails a limited number of
times, so for now keep the attempted tries out of the queue.

Fixes https://phabricator.freedesktop.org/T7837Reviewed-by: Thibault Saunier's avatarThibault Saunier <tsaunier@gnome.org>
Differential Revision: https://phabricator.freedesktop.org/D1909
parent 0ed93a62
......@@ -561,9 +561,6 @@ class VideoPreviewer(Previewer, Zoomable, Loggable):
else:
time = self.queue.pop(0)
self.log('Creating thumb for "%s"', path_from_uri(self.uri))
# append the time to the end of the queue so that if this seek fails
# another try will be started later
self.queue.append(time)
self.pipeline.seek(1.0,
Gst.Format.TIME, Gst.SeekFlags.FLUSH | Gst.SeekFlags.ACCURATE,
Gst.SeekType.SET, time,
......
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