[mythtv-commits] Ticket #4335: Mythgallery double scaling images
MythTV
mythtv at cvs.mythtv.org
Sun Dec 16 22:34:58 UTC 2007
#4335: Mythgallery double scaling images
-------------------------+--------------------------------------------------
Reporter: stuartm | Owner: ijr
Type: defect | Status: new
Priority: minor | Milestone: 0.21
Component: mythgallery | Version: head
Severity: medium | Mlocked: 0
-------------------------+--------------------------------------------------
When thumbnails are cached they are scaled to the correct size, yet
IconView::LoadThumbnail() is running smoothScale on them again after they
are retrieved from the cache. This is unnecessary overhead.
Attached patch fixes this, but is untested. I stumbled across the problem
while trying to figure out why alpha on thumbnails was being ignored.
Even further scaling seems to occur in IconView::UpdateView but I couldn't
tell whether this was also unnecessary at first glance.
--
Ticket URL: <http://svn.mythtv.org/trac/ticket/4335>
MythTV <http://svn.mythtv.org/trac>
MythTV
More information about the mythtv-commits
mailing list