projects
/
mediagoblin.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
force thumbnail creation of audio
[mediagoblin.git]
/
mediagoblin
/
media_types
/
audio
/
transcoders.py
diff --git
a/mediagoblin/media_types/audio/transcoders.py
b/mediagoblin/media_types/audio/transcoders.py
index 84e6af7e560e3d634e45d0c56000b6067dbabfe9..150dad8eb1eda35d8d78bc0eb0d44297acce8f89 100644
(file)
--- a/
mediagoblin/media_types/audio/transcoders.py
+++ b/
mediagoblin/media_types/audio/transcoders.py
@@
-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)