You are here

public function video_zencoder::load_job in Video 6.4

Same name and namespace in other branches
  1. 6.5 plugins/video_zencoder/transcoders/video_zencoder.inc \video_zencoder::load_job()
  2. 7 modules/video_zencoder/transcoders/video_zencoder.inc \video_zencoder::load_job()

Overrides transcoder_interface::load_job

3 calls to video_zencoder::load_job()
video_zencoder::delete_job in plugins/video_zencoder/transcoders/video_zencoder.inc
video_zencoder::generate_thumbnails in plugins/video_zencoder/transcoders/video_zencoder.inc
video_zencoder::update_job in plugins/video_zencoder/transcoders/video_zencoder.inc

File

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

Class

video_zencoder

Code

public function load_job($fid) {
  $job = db_fetch_object(db_query('SELECT f.*, vf.vid, vf.nid, vf.dimensions, vf.status as video_status FROM {video_zencoder} vf INNER JOIN {files} f ON vf.fid = f.fid WHERE f.fid = %d', $fid));
  if (empty($job)) {
    return FALSE;
  }
  return $job;
}