[mythtv-commits] Ticket #3217: Mythweb writes 0 size png thumbnails files in data/cache directory

MythTV mythtv at cvs.mythtv.org
Fri Jan 4 19:29:18 UTC 2008


#3217: Mythweb writes 0 size png thumbnails files in data/cache directory
-----------------------+----------------------------------------------------
 Reporter:  anonymous  |        Owner:  stuartm
     Type:  defect     |       Status:  closed 
 Priority:  minor      |    Milestone:  unknown
Component:  upnp       |      Version:  head   
 Severity:  low        |   Resolution:  fixed  
  Mlocked:  0          |  
-----------------------+----------------------------------------------------
Changes (by stuartm):

  * status:  accepted => closed
  * resolution:  => fixed


Comment:

 (In [15328]) This slightly convoluted change to the http/xml
 GetPreviewImage
 function attempts to speed up preview generation for mythweb and
 support for preserving the aspect ratio of a rescaled preview image.

 First, if a default preview image exists then rescale that to the
 required size instead of generating a new one from the video. This is
 several seconds faster on my backend for just a single image.

 Second, if you supply a Height but no Width, or a Width but no Height,
 then scale the image to that dimension whilst preserving aspect ratio.

 The PreviewPixmapOffset is now honoured if SecsIn is not defined or is
 equal to zero. If you supply a SecsIn argument > 0 or "!=
 PreviewPixmapOffset" then a new image will be generated.

 There is a change to the filename format.
 Old:
 filename.WxHxS.png
 New:
 filename.S{.WxH}.png

 Closes #3217

-- 
Ticket URL: <http://svn.mythtv.org/trac/ticket/3217#comment:19>
MythTV <http://svn.mythtv.org/trac>
MythTV


More information about the mythtv-commits mailing list