diff options
Diffstat (limited to 'plugins/video_ffmpeg_helper')
-rw-r--r-- | plugins/video_ffmpeg_helper/README.txt | 0 | ||||
-rw-r--r-- | plugins/video_ffmpeg_helper/video_render.php | 3 |
2 files changed, 3 insertions, 0 deletions
diff --git a/plugins/video_ffmpeg_helper/README.txt b/plugins/video_ffmpeg_helper/README.txt new file mode 100644 index 0000000..e69de29 --- /dev/null +++ b/plugins/video_ffmpeg_helper/README.txt 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); |