diff options
author | Mohamed Mujahid <muja_dd@494418.no-reply.drupal.org> | 2010-07-23 10:01:23 +0000 |
---|---|---|
committer | Mohamed Mujahid <muja_dd@494418.no-reply.drupal.org> | 2010-07-23 10:01:23 +0000 |
commit | ef4365879413eab6a0d2be64374a9840c7eed804 (patch) | |
tree | f32097751575177f2245b68b412f55cd95cbc70a /plugins/ffmpeg.inc | |
parent | e8f0a0d58a73a0d3e5877d9cd433e5c191fd93d2 (diff) | |
download | video-ef4365879413eab6a0d2be64374a9840c7eed804.tar.gz video-ef4365879413eab6a0d2be64374a9840c7eed804.tar.bz2 |
function replacements
Diffstat (limited to 'plugins/ffmpeg.inc')
-rw-r--r-- | plugins/ffmpeg.inc | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/plugins/ffmpeg.inc b/plugins/ffmpeg.inc index e8e0057..a83653a 100644 --- a/plugins/ffmpeg.inc +++ b/plugins/ffmpeg.inc @@ -188,7 +188,7 @@ function ffmpeg_auto_thumbnail($vidfile) { $file->filepath = $thumbfile; $file->filemime = file_get_mimetype("video-thumb-for-$fid-$i.png"); $file->filesize = filesize($thumbfile); - $file->timestamp = time(); + $file->timestamp = REQUEST_TIME; $files[] = $file; } return $files; @@ -236,7 +236,7 @@ function ffmpeg_auto_convert(&$job) { //print('executing ' . $command); die; watchdog('video_render', 'executing: ' . $command, array(), WATCHDOG_DEBUG); -// watchdog('video_render', 'Starting : ' . time()); +// watchdog('video_render', 'Starting : ' . REQUEST_TIME); //execute the command ob_start(); passthru($command." 2>&1", $command_return); @@ -259,7 +259,7 @@ function ffmpeg_auto_convert(&$job) { $file->filepath = $job->convfile; $file->filemime = file_get_mimetype($file_name); $file->filesize = filesize($job->convfile); - $file->timestamp = time(); + $file->timestamp = REQUEST_TIME; $job->converted = $file; } |