[pitivi] previewers: Fix animated thumb



commit 06c9fa0973a91792cfe2a7df09326ead2dc0081a
Author: Alexandru Băluț <alexandru balut gmail com>
Date:   Sun Dec 10 20:01:22 2017 +0100

    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/T7837
    
    Reviewed-by: Thibault Saunier <tsaunier gnome org>
    Differential Revision: https://phabricator.freedesktop.org/D1909

 pitivi/timeline/previewers.py |    3 ---
 1 files changed, 0 insertions(+), 3 deletions(-)
---
diff --git a/pitivi/timeline/previewers.py b/pitivi/timeline/previewers.py
index 28abf8c..a657daa 100644
--- a/pitivi/timeline/previewers.py
+++ b/pitivi/timeline/previewers.py
@@ -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,


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]