force thumbnail creation of audio
authorRodney Ewing <ewing.rj@gmail.com>
Wed, 14 Aug 2013 20:06:08 +0000 (13:06 -0700)
committerRodney Ewing <ewing.rj@gmail.com>
Fri, 16 Aug 2013 22:30:22 +0000 (15:30 -0700)
mediagoblin/media_types/audio/transcoders.py

index 84e6af7e560e3d634e45d0c56000b6067dbabfe9..150dad8eb1eda35d8d78bc0eb0d44297acce8f89 100644 (file)
@@ -122,8 +122,7 @@ class AudioThumbnailer(object):
                 int(start_x), 0,
                 int(stop_x), int(im_h)))
 
-        if th.size[0] > th_w or th.size[1] > th_h:
-            th.thumbnail(thumb_size, Image.ANTIALIAS)
+        th.thumbnail(thumb_size, Image.ANTIALIAS)
 
         th.save(dst)