You are here

public function video_localcommand::create_job in Video 6.5

Overrides video_transcoder::create_job

File

transcoders/video_localcommand.inc, line 340

Class

video_localcommand

Code

public function create_job(stdClass $video) {
  $video->status = VIDEO_RENDERING_PENDING;
  return db_query('INSERT INTO {video_files} (fid, status, dimensions) VALUES (%d, %d, "%s")', $video->fid, VIDEO_RENDERING_PENDING, $video->dimensions);
}