You are here

function video_update_6406 in Video 6.5

Same name and namespace in other branches
  1. 6.4 video.install \video_update_6406()

Implementation of hook_update_N().

File

./video.install, line 340
Provides installation functions for video.module.

Code

function video_update_6406() {
  drupal_set_message(t('The system has reset your thumbnail and FFmpeg command settings to their original state. If you made adjustments to these commands, you will have to reset them.'));

  // Lets reset our FFmpeg system command variables.
  variable_set('video_ffmpeg_thumbnailer_options', '-i !videofile -an -y -f mjpeg -ss !seek -vframes 1 !thumbfile');
  variable_set('video_ffmpeg_helper_auto_cvr_options', '-y -i !videofile -f flv -ar 22050 -ab !audiobitrate -s !size -b !videobitrate -qscale 1 !convertfile');
  return array();
}