public function video_zencoder::create_job in Video 6.5
Same name and namespace in other branches
- 6.4 plugins/video_zencoder/transcoders/video_zencoder.inc \video_zencoder::create_job()
- 7 modules/video_zencoder/transcoders/video_zencoder.inc \video_zencoder::create_job()
Overrides video_transcoder::create_job
File
- plugins/
video_zencoder/ transcoders/ video_zencoder.inc, line 453 - Transcoder class file to handle Zencoder settings and conversions.
Class
Code
public function create_job(stdClass $video) {
$video->status = VIDEO_RENDERING_PENDING;
return db_query('INSERT INTO {video_zencoder} (fid, status, dimensions) VALUES (%d, %d, "%s")', $video->fid, VIDEO_RENDERING_PENDING, $video->dimensions);
}