From ef4365879413eab6a0d2be64374a9840c7eed804 Mon Sep 17 00:00:00 2001 From: Mohamed Mujahid Date: Fri, 23 Jul 2010 10:01:23 +0000 Subject: function replacements --- plugins/zencoder.inc | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'plugins/zencoder.inc') diff --git a/plugins/zencoder.inc b/plugins/zencoder.inc index 29d6b7c..989222b 100644 --- a/plugins/zencoder.inc +++ b/plugins/zencoder.inc @@ -196,7 +196,7 @@ function zencoder_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; @@ -244,7 +244,7 @@ function zencoder_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); @@ -267,7 +267,7 @@ function zencoder_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; } -- cgit v1.2.3