diff options
author | Heshan <heshan@heidisoft.com> | 2011-07-03 10:28:32 +0530 |
---|---|---|
committer | Heshan <heshan@heidisoft.com> | 2011-07-03 10:28:32 +0530 |
commit | 2929a463991a15192cd78b1242b401c2c9643613 (patch) | |
tree | 4e589ea4d1c17ae5be4fde38cfba6eacddb0fd2f | |
parent | 5c0cf3075cdd3643ea0fb28bf41204d053836f22 (diff) | |
download | video-2929a463991a15192cd78b1242b401c2c9643613.tar.gz video-2929a463991a15192cd78b1242b401c2c9643613.tar.bz2 |
#1192296 by ralf.strobel !cmd_path never gets substituted
-rw-r--r-- | modules/video_ui/video.preset.inc | 5 |
1 files 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; } |