You are here

private function video_zencoder::update in Video 7

Same name and namespace in other branches
  1. 6.4 plugins/video_zencoder/transcoders/video_zencoder.inc \video_zencoder::update()
1 call to video_zencoder::update()
video_zencoder::convert_video in modules/video_zencoder/transcoders/video_zencoder.inc

File

modules/video_zencoder/transcoders/video_zencoder.inc, line 400

Class

video_zencoder

Code

private function update($video) {
  return db_update('video_zencoder')
    ->fields(array(
    'jobid' => $video->jobid,
    'completed' => time(),
    'data' => $video->data,
  ))
    ->condition('vid', $vid, '=')
    ->execute();
}