← Back to team overview

openshot.developers team mailing list archive

[Bug 623073] Re: Slow switch to "Transitions" and "Effects" tabs at first time

 

** Tags added: patch

-- 
You received this bug notification because you are a member of OpenShot
Developers, which is subscribed to OpenShot Video Editor.
https://bugs.launchpad.net/bugs/623073

Title:
  Slow switch to "Transitions" and "Effects" tabs at first time

Status in OpenShot Video Editor:
  Fix Released

Bug description:
  Hello

  There is a problem when switch to "Transitions" or "Effects" tab at
  first time, It's slow a little bit, And the problem will be worst if
  we have a lot of "Transitions" or "Effects".

  For test purpose I added about 300 images in "transitions" directory,
  the switch became slower. Try it please, just make copies of existed
  transitions and see what happen :-)

  The problem comes from this line

  pbThumb = pbThumb.scale_simple(80, 62, gtk.gdk.INTERP_BILINEAR)

  So, I made a small patch which deals with this problem by using cache,
  simply create a cache from the image then use the cached version as a
  thumb.

  If this patch is accepted we will need to write a code to deal with
  cache generating, but temporary I wrote a small file to generate the
  cache (In attach : thumb-generator.py), put it in "openshot" directory
  then run it.

  Sorry for my English :-)

To manage notifications about this bug go to:
https://bugs.launchpad.net/openshot/+bug/623073/+subscriptions


References