Skip to content

Commit

Permalink
fixed #2871
Browse files Browse the repository at this point in the history
  • Loading branch information
jeanlf committed Jun 12, 2024
1 parent 54c8c87 commit 20c0f29
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 2 deletions.
2 changes: 1 addition & 1 deletion src/filters/isoffin_read.c
Original file line number Diff line number Diff line change
Expand Up @@ -1724,11 +1724,11 @@ static GF_Err isoffin_process(GF_Filter *filter)
}
break;
} else if (ch->last_state==GF_ISOM_INVALID_FILE) {
ch->nb_empty_retry++;
if (!ch->eos_sent) {
ch->eos_sent = 1;
read->eos_signaled = GF_TRUE;
gf_filter_pid_set_eos(ch->pid);
ch->playing = GF_FALSE;
}
return ch->last_state;
} else {
Expand Down
1 change: 0 additions & 1 deletion src/filters/isoffin_read_ch.c
Original file line number Diff line number Diff line change
Expand Up @@ -536,7 +536,6 @@ void isor_reader_get_sample(ISOMChannel *ch)
/*incomplete file - check if we're still downloading or not*/
if (gf_isom_get_missing_bytes(ch->owner->mov, ch->track)) {
ch->last_state = GF_ISOM_INCOMPLETE_FILE;
ch->nb_empty_retry = 0;
if (ch->owner->mem_load_mode==2)
ch->owner->force_fetch = GF_TRUE;

Expand Down

0 comments on commit 20c0f29

Please sign in to comment.