public function video_ffmpeg::create_job in Video 7
Same name and namespace in other branches
- 6.4 transcoders/video_ffmpeg.inc \video_ffmpeg::create_job()
Interface Implementations
Overrides transcoder_interface::create_job
See also
sites/all/modules/video/includes/transcoder_interface#create_job()
1 call to video_ffmpeg::create_job()
- video_ffmpeg_php::create_job in transcoders/
video_ffmpeg_php.inc - Interface Implementations
1 method overrides video_ffmpeg::create_job()
- video_ffmpeg_php::create_job in transcoders/
video_ffmpeg_php.inc - Interface Implementations
File
- transcoders/
video_ffmpeg.inc, line 429
Class
Code
public function create_job($video, $nid) {
return db_insert('video_files')
->fields(array(
'fid' => $video['fid'],
'nid' => $nid,
'status' => VIDEO_RENDERING_PENDING,
'dimensions' => $video['dimensions'],
))
->execute();
}