You are here

public function video_zencoder::update_job in Video 6.4

Same name and namespace in other branches
  1. 6.5 plugins/video_zencoder/transcoders/video_zencoder.inc \video_zencoder::update_job()

Overrides transcoder_interface::update_job

File

plugins/video_zencoder/transcoders/video_zencoder.inc, line 280

Class

video_zencoder

Code

public function update_job($video) {
  if (!$this
    ->load_job($video['fid'])) {
    return;
  }

  //lets update our table to include the nid
  db_query("UPDATE {video_zencoder} SET nid=%d WHERE fid=%d", $video['nid'], $video['fid']);
}