getid3_matroska::getDefaultStreamInfo()
{} It's a method of the class: getid3_matroska{}
No Hooks.
Return
Array
.
Usage
$result = getid3_matroska::getDefaultStreamInfo( $streams );
- $streams(array) (required)
- -
Code of getid3_matroska::getDefaultStreamInfo() getid3 matroska::getDefaultStreamInfo WP 6.0
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; }