You are here

public function video_localcommand::change_status in Video 6.5

Change the status of the file.

Overrides video_transcoder::change_status

1 call to video_localcommand::change_status()
video_localcommand::convert_video in transcoders/video_localcommand.inc
Convert the given video.

File

transcoders/video_localcommand.inc, line 398

Class

video_localcommand

Code

public function change_status(stdClass $video, $status) {
  $video->status = $status;
  db_query('UPDATE {video_files} SET status = %d WHERE vid = %d', $status, $video->vid);
}