public function video_zencoder::update_job in Video 6.5
Same name and namespace in other branches
- 6.4 plugins/video_zencoder/transcoders/video_zencoder.inc \video_zencoder::update_job()
Overrides video_transcoder::update_job
File
- plugins/
video_zencoder/ transcoders/ video_zencoder.inc, line 458 - Transcoder class file to handle Zencoder settings and conversions.
Class
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_zencoder} SET nid = %d WHERE fid=%d', $video->nid, $video->fid);
}