You are here

function _video_render_job_change_status in Video 6.3

Same name and namespace in other branches
  1. 5 plugins/video_ffmpeg_helper/video_render.php \_video_render_job_change_status()
  2. 6 plugins/video_ffmpeg_helper/video_render.php \_video_render_job_change_status()
  3. 6.2 plugins/video_ffmpeg_helper/video_render.php \_video_render_job_change_status()

Change the status to $status of the job having nid=$nid and vid=$vid

1 call to _video_render_job_change_status()
video_render_main in ./video_scheduler.php
Video Rendering Process

File

./video_scheduler.php, line 220
Implement video rendering scheduling. If you are not using sites/default/settings.php as your settings file, add an optional parameter for the drupal site url: "php video_scheduler.php http://example.com/" or "php video_scheduler.php…

Code

function _video_render_job_change_status($fid, $status) {
  $result = db_query('UPDATE {video_rendering} SET status = %d WHERE fid = %d ', $status, $fid);
}