getid3_matroska::getDefaultStreamInfo() –
You appear to be a bot. Output may be restricted
Description
Usage
$array = getid3_matroska::getDefaultStreamInfo( $streams );
Parameters
- $streams
- ( array ) required –
Returns
array
Source
File name: wordpress/wp-includes/ID3/module.audio-video.matroska.php
Lines:
1 to 21 of 21
private static function getDefaultStreamInfo($streams) { $stream = array(); foreach (array_reverse($streams) as $stream) { if ($stream['default']) { break; } } $unset = array('default', 'name'); foreach ($unset as $u) { if (isset($stream[$u])) { unset($stream[$u]); } } $info = $stream; $info['streams'] = $streams; return $info; }