You are here

public function video_ffmpeg::change_status in Video 6.4

Same name and namespace in other branches
  1. 7 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 534

Class

video_ffmpeg

Code

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