function video_filter_get_codec_info in Video Filter 6.3
Same name and namespace in other branches
- 7.3 video_filter.module \video_filter_get_codec_info()
Gets all defined codecs.
Return value
array An array of codecs. The keys are codec machine names. The values are associative arrays containing the corresponding codec details.
3 calls to video_filter_get_codec_info()
- video_filter_filter_tips in ./
video_filter.module - Implements hook_filter_tips().
- video_filter_process in ./
video_filter.module - _video_filter_instructions in ./
video_filter.module - Parses codec into instructions for WYSIWYG popup.
File
- ./
video_filter.module, line 542
Code
function video_filter_get_codec_info() {
static $codecs;
if (!isset($codecs)) {
$codecs = module_invoke_all('codec_info');
drupal_alter('video_filter_codec_info', $codecs);
}
return $codecs;
}