[pitivi] Discoverer: Reduce the maximum thumbnail size to 96x96



commit c24cdaf579eb44faffe4093d56b514096092c419
Author: Edward Hervey <bilboed bilboed com>
Date:   Sun May 10 14:45:30 2009 +0200

    Discoverer: Reduce the maximum thumbnail size to 96x96
    
    We resize them in the UI to 64 pixels wide. This should leave us
    some margin and speeds up loading big files even more drastically.
---
 pitivi/discoverer.py |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/pitivi/discoverer.py b/pitivi/discoverer.py
index 8a861d7..ed8ce8f 100644
--- a/pitivi/discoverer.py
+++ b/pitivi/discoverer.py
@@ -428,7 +428,7 @@ class Discoverer(Signallable, Loggable):
 
         self.pipeline.add(queue, vscale, csp, pngenc, pngsink)
         queue.link(vscale)
-        vscale.link(csp, gst.Caps("video/x-raw-rgb,width=[1,720],height=[1,720];video/x-raw-yuv,width=[1,720],height=[1,720]"))
+        vscale.link(csp, gst.Caps("video/x-raw-rgb,width=[1,96],height=[1,96];video/x-raw-yuv,width=[1,96],height=[1,96]"))
         gst.element_link_many(csp, pngenc, pngsink)
         pad.link(queue.get_pad("sink"))
 



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