External Library: Update getid3 to 1.9.18
Follow up to r46112 as getid3 has tagged an official release.
Changes: 00f3fbfd77
...v1.9.18
Props desrosj, jkitchen.
Fixes #47751 #40883 #43836.
git-svn-id: https://develop.svn.wordpress.org/trunk@46166 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
parent
baaaef5b63
commit
b7df2ea08c
@ -250,7 +250,7 @@ class getID3
|
|||||||
*/
|
*/
|
||||||
protected $startup_warning = '';
|
protected $startup_warning = '';
|
||||||
|
|
||||||
const VERSION = '1.9.17-201907240906';
|
const VERSION = '1.9.18-201907240906';
|
||||||
const FREAD_BUFFER_SIZE = 32768;
|
const FREAD_BUFFER_SIZE = 32768;
|
||||||
|
|
||||||
const ATTACHMENTS_NONE = false;
|
const ATTACHMENTS_NONE = false;
|
||||||
|
@ -342,7 +342,7 @@ class getid3_matroska extends getid3_handler
|
|||||||
switch ($trackarray['CodecID']) {
|
switch ($trackarray['CodecID']) {
|
||||||
case 'A_PCM/INT/LIT':
|
case 'A_PCM/INT/LIT':
|
||||||
case 'A_PCM/INT/BIG':
|
case 'A_PCM/INT/BIG':
|
||||||
$track_info['bitrate'] = $trackarray['SamplingFrequency'] * $trackarray['Channels'] * $trackarray['BitDepth'];
|
$track_info['bitrate'] = $track_info['sample_rate'] * $track_info['channels'] * $trackarray['BitDepth'];
|
||||||
break;
|
break;
|
||||||
|
|
||||||
case 'A_AC3':
|
case 'A_AC3':
|
||||||
|
Loading…
Reference in New Issue
Block a user