Added parameter to transcoding_error
authorJoar Wandborg <git@wandborg.com>
Wed, 5 Oct 2011 21:26:50 +0000 (23:26 +0200)
committerJoar Wandborg <git@wandborg.com>
Wed, 5 Oct 2011 21:26:50 +0000 (23:26 +0200)
mediagoblin/media_types/video/processing.py

index a7dbcf6712715dffdbcbb076b3ce9203e668f232..a088468b5589dd79530da1c72c52ee9524779d8d 100644 (file)
@@ -210,10 +210,10 @@ def _transcoding_complete(*args):
     print(args)
 
 
-def _transcoding_error(queue, qentry, info):
+def _transcoding_error(queue, qentry, info, *args):
     logger.info('Error')
     __close_processing(queue, qentry, info, error=True)
-    logger.debug(queue, quentry, info)
+    logger.debug(queue, quentry, info, *args)
 
 
 def _transcoding_pass_setup(queue, qentry, options):