From 18fbdce5034299832762b72e4653bf6028e8252d Mon Sep 17 00:00:00 2001 From: Fabio Varesano Date: Thu, 11 Jan 2007 07:43:59 +0000 Subject: Added *draft* and *incomplete* support for video conversion throught the video_render.php script Added functions for video_render.php to video_ffmpeg_helper.module Fixed bug #108445 reported by incom (http://drupal.org/user/64246) Call to undefined function: module_exist() in /home/..../modules/video/views_video.inc on line 69 --- plugins/video_upload/video_upload.module | 1 + 1 file changed, 1 insertion(+) (limited to 'plugins/video_upload') diff --git a/plugins/video_upload/video_upload.module b/plugins/video_upload/video_upload.module index c11cd1e..f22327b 100644 --- a/plugins/video_upload/video_upload.module +++ b/plugins/video_upload/video_upload.module @@ -233,6 +233,7 @@ function _video_upload_store(&$node) { $file->fid = db_next_id('{files}_fid'); db_query("INSERT INTO {files} (fid, nid, filename, filepath, filemime, filesize) VALUES (%d, %d, '%s', '%s', '%s', %d)", $file->fid, $node->nid, $file->filename, $file->filepath, $file->filemime, $file->filesize); db_query("INSERT INTO {file_revisions} (fid, vid, list, description) VALUES (%d, %d, %d, '%s')", $file->fid, $node->vid, $file->list, $file->description); + $_SESSION['video_upload_file_stored'] = $file; unset($_SESSION['video_upload_file']); } else { -- cgit v1.2.3