You are here

public function video_phpvideotoolkit::change_status in Video 7

Change the status of the file.

Parameters

(int) $vid:

(int) $status:

Overrides transcoder_interface::change_status

1 call to video_phpvideotoolkit::change_status()
video_phpvideotoolkit::convert_video in transcoders/video_phpvideotoolkit.inc

File

transcoders/video_phpvideotoolkit.inc, line 550

Class

video_phpvideotoolkit

Code

public function change_status($vid, $status) {
  db_update('video_files')
    ->fields(array(
    'status' => $status,
  ))
    ->condition('vid', $vid, '=')
    ->execute();
}