aboutsummaryrefslogtreecommitdiff
path: root/plugins/zencoder.inc
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/zencoder.inc')
-rw-r--r--plugins/zencoder.inc6
1 files changed, 3 insertions, 3 deletions
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;
}