aboutsummaryrefslogtreecommitdiff
path: root/plugins/video_zencoder/includes
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/video_zencoder/includes')
-rw-r--r--plugins/video_zencoder/includes/zencoder.inc2
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/video_zencoder/includes/zencoder.inc b/plugins/video_zencoder/includes/zencoder.inc
index 1269505..fcf7e48 100644
--- a/plugins/video_zencoder/includes/zencoder.inc
+++ b/plugins/video_zencoder/includes/zencoder.inc
@@ -181,7 +181,7 @@ class video_zencoder_api {
*/
public function update($video) {
$result = db_query("UPDATE {video_zencoder} SET jobid = %d, outputid = %d, bucket='%s', filename='%s', filepath='%s', filemime='%s', filesize='%s', status=%d, completed=%d WHERE vid=%d",
- $video->jobid, $video->outputid, $video->bucket, $video->filename, $video->filepath, $video->filemime, $video->filesize, VIDEO_ZC_ACTIVE, time(), $video->vid);
+ $video->jobid, $video->outputid, $video->bucket, $video->filename, $video->filepath, $video->filemime, $video->filesize, VIDEO_ZC_ACTIVE, REQUEST_TIME, $video->vid);
return $result;
}