public function video_zencoder::change_status in Video 6.5
Same name and namespace in other branches
- 6.4 plugins/video_zencoder/transcoders/video_zencoder.inc \video_zencoder::change_status()
- 7 modules/video_zencoder/transcoders/video_zencoder.inc \video_zencoder::change_status()
Change the status of the file.
Overrides video_transcoder::change_status
1 call to video_zencoder::change_status()
- video_zencoder::convert_video in plugins/
video_zencoder/ transcoders/ video_zencoder.inc - Convert the given video.
File
- plugins/
video_zencoder/ transcoders/ video_zencoder.inc, line 522 - Transcoder class file to handle Zencoder settings and conversions.
Class
Code
public function change_status(stdClass $video, $status) {
$video->status = $status;
db_query('UPDATE {video_zencoder} SET status = %d WHERE vid = %d ', $status, $video->vid);
}