aboutsummaryrefslogtreecommitdiff
path: root/modules/video_ui
diff options
context:
space:
mode:
authorHeshan <heshan@heidisoft.com>2011-03-17 13:25:16 +0530
committerHeshan <heshan@heidisoft.com>2011-03-17 13:25:16 +0530
commit51c7e284ec5976d5918e506265154f34d32e9a48 (patch)
tree0883959de56f19f302c7a21f1725eca65d906fa8 /modules/video_ui
parent87782dfb64baed1715634b08c51a5f2a6d77eebb (diff)
downloadvideo-51c7e284ec5976d5918e506265154f34d32e9a48.tar.gz
video-51c7e284ec5976d5918e506265154f34d32e9a48.tar.bz2
Moving the get codecs from the convertor to trasncoder instrface
Diffstat (limited to 'modules/video_ui')
-rw-r--r--modules/video_ui/video.preset.inc7
1 files changed, 2 insertions, 5 deletions
diff --git a/modules/video_ui/video.preset.inc b/modules/video_ui/video.preset.inc
index 1273fc3..e9ff011 100644
--- a/modules/video_ui/video.preset.inc
+++ b/modules/video_ui/video.preset.inc
@@ -11,11 +11,8 @@ define('VIDEO_PRESET_MAX_LENGTH', 64);
* @return <array> - The additional form settings that you would like to add to your preset.
*/
function video_preset_default_form($form, &$form_state, $preset) {
- module_load_include('inc', 'video', '/includes/conversion');
- $video_conversion = new video_conversion;
-
- $codecs = $video_conversion->get_codecs();
-
+ $video_transcoder = new video_transcoder;
+ $codecs = $video_transcoder->get_codecs();
$form = array();
$form['settings']['device_profile'] = array(
'#type' => 'fieldset',