public function video_ffmpeg::change_status in Video 7
Same name and namespace in other branches
- 6.4 transcoders/video_ffmpeg.inc \video_ffmpeg::change_status()
Change the status of the file.
Parameters
(int) $vid:
(int) $status:
Overrides transcoder_interface::change_status
1 call to video_ffmpeg::change_status()
- video_ffmpeg::convert_video in transcoders/
video_ffmpeg.inc
File
- transcoders/
video_ffmpeg.inc, line 521
Class
Code
public function change_status($vid, $status) {
db_update('video_files')
->fields(array(
'status' => $status,
))
->condition('vid', $vid, '=')
->execute();
}