public function video_localcommand::load_job in Video 6.5
Overrides video_transcoder::load_job
2 calls to video_localcommand::load_job()
- video_localcommand::get_original_path_by_converted_path in transcoders/
video_localcommand.inc - Implementation of get_original_path_by_converted_path().
- video_localcommand::update_job in transcoders/
video_localcommand.inc
File
- transcoders/
video_localcommand.inc, line 358
Class
Code
public function load_job($fid) {
$job = db_fetch_object(db_query('SELECT f.fid, f.filename, f.filepath, f.filesize, f.filemime, vf.vid, vf.nid, vf.dimensions, vf.status, vf.data FROM {video_files} vf LEFT JOIN {files} f ON vf.fid = f.fid WHERE f.fid=vf.fid AND f.fid = %d', $fid));
if (!empty($job)) {
$job->data = unserialize($job->data);
return $job;
}
return FALSE;
}