Use of deprecated frombytes when processing videos causes the task to fail
authorChristopher Allan Webber <cwebber@dustycloud.org>
Fri, 22 May 2015 19:16:45 +0000 (14:16 -0500)
committerChristopher Allan Webber <cwebber@dustycloud.org>
Fri, 22 May 2015 19:16:45 +0000 (14:16 -0500)
commit5b8e0b2a63194d53da2ce434e867fc5eab1b60b4
tree72b3bae6dcead41b59d73d0d9617974e3a2375b9
parentc2382bd4ea50891a483eaef75a7f69f7fe3ad332
Use of deprecated frombytes when processing videos causes the task to fail

(Anonymous contribution, not by me)

  When transcoding a video using a recent version of PIL transcoding a
  video fails reproducible. The reason for this is an AttributeError:
  'module' object has no attribute 'frombytes'gets raised, while a
  thumbnails is being created. This is because frombytes alias was
  deprecated in favor of fromstring.
mediagoblin/media_types/video/transcoders.py