You are here

public function video_zencoder::create_job in Video 6.4

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

Overrides transcoder_interface::create_job

File

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

Class

video_zencoder

Code

public function create_job($video) {
  return db_query("INSERT INTO {video_zencoder} (fid, status, dimensions) VALUES (%d, %d, '%s')", $video['fid'], VIDEO_RENDERING_PENDING, $video['dimensions']);
}