124
104
} else if (ch->has_edit_list) {
125
105
e = gf_isom_get_sample_for_movie_time(ch->owner->mov, ch->track, ch->sample_time + 1, &ivar, GF_ISOM_SEARCH_FORWARD, &ch->sample, &ch->sample_num);
126
106
if (ch->sample) ch->sample_time = ch->sample->DTS;
128
109
ch->sample = gf_isom_get_sample(ch->owner->mov, ch->track, ch->sample_num, &ivar);
130
111
if (ch->sample && (ch->sample->IsRAP==2)) {
131
112
gf_isom_sample_del(&ch->sample);
133
ch->sample = gf_isom_get_sample(ch->owner->mov, ch->track, ch->sample_num, &ivar);