From 42bb65a75da1adb88f07d01677e2b80ee6b59039 Mon Sep 17 00:00:00 2001 From: Heshan Wanigasooriya Date: Sat, 8 Jan 2011 05:44:36 +0000 Subject: Adding namespace to the video module variables --- includes/transcoder.inc | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'includes/transcoder.inc') diff --git a/includes/transcoder.inc b/includes/transcoder.inc index c9d79b8..8d604a5 100644 --- a/includes/transcoder.inc +++ b/includes/transcoder.inc @@ -28,7 +28,7 @@ class video_transcoder { private function get_instance($transcoder = null) { //get our configured transcoder. if (!isset($transcoder)) - $transcoder = variable_get('vid_convertor', 'video_ffmpeg'); + $transcoder = variable_get('video_convertor', 'video_ffmpeg'); // module_load_include('inc', 'video', '/transcoders/' . $transcoder); if (!module_load_include('inc', 'video', '/transcoders/' . $transcoder)) { $modules = module_list(); @@ -85,10 +85,10 @@ class video_transcoder { public function admin_settings() { $form = array(); $options = $this->_transcoders(); - $form['vid_convertor'] = array( + $form['video_convertor'] = array( '#type' => 'radios', '#title' => t('Video transcoder'), - '#default_value' => variable_get('vid_convertor', 'video_ffmpeg'), + '#default_value' => variable_get('video_convertor', 'video_ffmpeg'), '#options' => $options['radios'], '#description' => t('Selecting a video transcoder will help you convert videos and generate thumbnails. !list', array('!list' => theme('item_list', $options['help']))), '#prefix' => '
', -- cgit v1.2.3