From 2929a463991a15192cd78b1242b401c2c9643613 Mon Sep 17 00:00:00 2001 From: Heshan Date: Sun, 3 Jul 2011 10:28:32 +0530 Subject: #1192296 by ralf.strobel !cmd_path never gets substituted --- modules/video_ui/video.preset.inc | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/modules/video_ui/video.preset.inc b/modules/video_ui/video.preset.inc index f4ecd78..69f1322 100644 --- a/modules/video_ui/video.preset.inc +++ b/modules/video_ui/video.preset.inc @@ -328,7 +328,8 @@ function video_preset_default_form($form, &$form_state, $preset) { '#collapsed' => FALSE ); $tokes = array( - '!cmd_path - Path to transcoder', + '!ffmpeg - Path to ffmpeg', + '!ffmpeg2theora - Path to ffmpeg2theora', '!videofile - Input video file', '!convertfile - Output video file', '!width - Width of output video', @@ -338,7 +339,7 @@ function video_preset_default_form($form, &$form_state, $preset) { '#type' => 'textarea', '#title' => t('Command line codes to run'), '#description' => t('Please add command line codes each to run separated by a new line.') . theme('item_list', array('items' => $tokes, 'title' => 'Available Tokes')), - '#default_value' => !empty($preset['settings']['cli_code']) ? $preset['settings']['cli_code'] : '!cmd_path -i !videofile -s !widthx!height -r 15 -b 250 -ar 22050 -ab 48 !convertfile' + '#default_value' => !empty($preset['settings']['cli_code']) ? $preset['settings']['cli_code'] : '!ffmpeg -i !videofile -s !widthx!height -r 15 -b 250 -ar 22050 -ab 48 !convertfile' ); return $form; } -- cgit v1.2.3