$this->
warning('Unable to parse audio data ['.
basename(__FILE__
).':'.__LINE__.'] because CodecPrivate data does not contain "vorbis" keyword'
);
break;
} $vorbis_offset -= 1;
getid3_lib::
IncludeDependency(GETID3_INCLUDEPATH.'module.audio.ogg.php', __FILE__, true
);
// create temp instance
$getid3_temp =
new getID3();
// analyze
$getid3_ogg =
new getid3_ogg($getid3_temp);
$oggpageinfo['page_seqno'
] = 0;
$getid3_ogg->
ParseVorbisPageHeader($trackarray['CodecPrivate'
],
$vorbis_offset,
$oggpageinfo);
if (!
empty($getid3_temp->info
['ogg'
])) { $info['matroska'
]['track_codec_parsed'
][$trackarray['TrackNumber'
]] =
$getid3_temp->info
['ogg'
];
if (isset($getid3_temp->info
['audio'
]) &&
is_array($getid3_temp->info
['audio'
])) { foreach ($getid3_temp->info
['audio'
] as $sub_key =>
$value) { $track_info[$sub_key] =
$value;
} } }