You are here

function _video_render_add_job in Video 6.3

Parameters

<type> $job:

1 call to _video_render_add_job()
video_auto_transcode_add_to_queue in types/uploadfield/uploadfield_convert.inc
Add a video conversion rendering process to the queue

File

types/uploadfield/uploadfield_convert.inc, line 137
Enable conversion control on video module.

Code

function _video_render_add_job(&$job) {
  $transcoder = variable_get('vid_convertor', 'ffmpeg');
  module_load_include('inc', 'video', '/plugins/' . $transcoder);
  $function = variable_get('vid_convertor', 'ffmpeg') . '_add_job';
  if (function_exists($function)) {
    $function($job);
  }
  else {

    //    drupal_set_message(t('Transcoder not configured properly'), 'error');
  }
}