aboutsummaryrefslogtreecommitdiff
path: root/plugins/video_ffmpeg_helper/video_render.php
diff options
context:
space:
mode:
authorFabio Varesano <fax8@13637.no-reply.drupal.org>2007-01-14 13:13:36 +0000
committerFabio Varesano <fax8@13637.no-reply.drupal.org>2007-01-14 13:13:36 +0000
commitb672efbca9d447a0605366ffaa44099a207d3529 (patch)
tree96942535e4a914cd289a54a861a578ff13a8772a /plugins/video_ffmpeg_helper/video_render.php
parent018f720fc65b950e14db154f83e83137a86011c8 (diff)
downloadvideo-b672efbca9d447a0605366ffaa44099a207d3529.tar.gz
video-b672efbca9d447a0605366ffaa44099a207d3529.tar.bz2
Some fixes.
Diffstat (limited to 'plugins/video_ffmpeg_helper/video_render.php')
-rw-r--r--plugins/video_ffmpeg_helper/video_render.php3
1 files changed, 3 insertions, 0 deletions
diff --git a/plugins/video_ffmpeg_helper/video_render.php b/plugins/video_ffmpeg_helper/video_render.php
index 99b0f4b..fddaedd 100644
--- a/plugins/video_ffmpeg_helper/video_render.php
+++ b/plugins/video_ffmpeg_helper/video_render.php
@@ -119,6 +119,9 @@ function video_render_main() {
db_query('UPDATE {video} SET vidfile = "%s", videox = %d, videoy = %d WHERE nid=%d AND vid=%d', "", $job->calculatedx, $job->calculatedy, $job->nid, $job->vid);
_video_render_job_change_status($job->nid, $job->vid, VIDEO_RENDERING_COMPLETE);
+
+ // delete the vile
+ unlink($job->convfile);
}
else {
watchdog('video_scheduler', t('error moving video to the final directory. Check folder permissions.'), WATCHDOG_ERROR);