| 1 |
<?php |
<?php |
| 2 |
|
|
| 3 |
/* $Id: mm_ffmpeg.module,v 1.1.2.60.2.16 2009/05/21 14:07:07 arthuregg Exp $ */ |
/* $Id: mm_ffmpeg.module,v 1.1.2.60.2.17 2009/10/04 22:54:08 arthuregg Exp $ */ |
| 4 |
|
|
| 5 |
|
|
| 6 |
/* |
/* |
| 412 |
} |
} |
| 413 |
} |
} |
| 414 |
|
|
|
/** |
|
|
* validates the video configuration setup |
|
|
* @param int $action_id |
|
|
* @param array $configuration |
|
|
*/ |
|
|
function mm_ffmpeg_config_validate($configuration) { |
|
|
// check the custom command |
|
|
if (preg_match('/[|>]/', $configuration['ffmpeg_video_custom_command'])) { |
|
|
$errors[] = array( |
|
|
'element' => 'ffmpeg_video_custom_command', |
|
|
'message' => t('You can not use | or > in your command'), |
|
|
); |
|
|
} |
|
|
return $errors; |
|
|
} |
|
|
|
|
| 415 |
|
|
| 416 |
/** |
/** |
| 417 |
* builds the edit config form for thumbnail |
* builds the edit config form for thumbnail |