getid3_matroska::displayUnit() –

You appear to be a bot. Output may be restricted

Description

Usage

$string = getid3_matroska::displayUnit( $value );

Parameters

$value
( int ) required

Returns

string

Source

File name: wordpress/wp-includes/ID3/module.audio-video.matroska.php
Lines:

1 to 10 of 10
  public static function displayUnit($value) {
    // http://www.matroska.org/technical/specs/index.html#DisplayUnit
    static $units = array(
      0 => 'pixels',
      1 => 'centimeters',
      2 => 'inches',
      3 => 'Display Aspect Ratio');

    return (isset($units[$value]) ? $units[$value] : 'unknown');
  }
 

 View on GitHub View on Trac