	if (!strncmp(file_path, manifest_path, diff)) {
		res = file_path + diff;
	}
	return res;
}

static GFINLINE
u64 dasher_translate_cts(GF_DashStream *ds, u64 cts)
{
	if (ds->cues) {
		cts -= ds->first_cts;
	} else if (cts < ds->first_dts) {
		cts = 0;
	} else if (ds->pts_minus_cts<0) {
		if ((s64) (cts - ds->first_dts) >= -ds->pts_minus_cts) {
			cts = cts - ds->first_dts + ds->pts_minus_cts;
		} else {
	if (!strncmp(file_path, manifest_path, diff)) {
		res = file_path + diff;
	}
	return res;
}

static GFINLINE
u64 dasher_translate_cts(GF_DashStream *ds, u64 cts)
{
	if (ds->cues) {
		cts -= ds->first_cts;
	} else if (cts < ds->first_dts) {
		cts = 0;
	} else if (ds->pts_minus_cts<0) {
		if ((s64) (cts - ds->first_dts) >= -ds->pts_minus_cts) {
			cts = cts - ds->first_dts + ds->pts_minus_cts;
		} else {