You are here

public function video_localcommand::update_job in Video 6.5

Overrides video_transcoder::update_job

File

transcoders/video_localcommand.inc, line 345

Class

video_localcommand

Code

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

  // Lets update our table to include the nid
  db_query('UPDATE {video_files} SET nid = %d WHERE fid=%d', $video->nid, $video->fid);
}