WordPress at a glance
function is not described

getid3_quicktime::quicktime_time_to_sample_table() public WP 1.0

{} It's a method of the class: getid3_quicktime{}

No Hooks.

Return

Array.

Usage

$getid3_quicktime = new getid3_quicktime();
$getid3_quicktime->quicktime_time_to_sample_table( $info );
$info(array) (required)
-

Code of getid3_quicktime::quicktime_time_to_sample_table() WP 5.7.2

<?php
public function quicktime_time_to_sample_table($info) {
	$res = array();
	$this->search_tag_by_pair($info['quicktime']['moov'], 'name', 'stbl', 'quicktime/moov', $res);
	foreach ($res as $value) {
		$stbl_res = array();
		$this->search_tag_by_pair($value[1], 'data_format', 'text', $value[0], $stbl_res);
		if (count($stbl_res) > 0) {
			$stts_res = array();
			$this->search_tag_by_key($value[1], 'time_to_sample_table', $value[0], $stts_res);
			if (count($stts_res) > 0) {
				return $stts_res[0][1]['time_to_sample_table'];
			}
		}
	}
	return array();
}