Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Manually deleted files are not failed.
  • Loading branch information
Glenn-1990 authored and perexg committed Sep 30, 2016
1 parent eed35c0 commit 371cf6d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/api/api_dvr.c
Expand Up @@ -69,7 +69,7 @@ static int is_dvr_entry_finished(dvr_entry_t *entry)
{
dvr_entry_sched_state_t state = entry->de_sched_state;
return state == DVR_COMPLETED && !entry->de_last_error &&
dvr_get_filesize(entry, 0) != -1 &&
(dvr_get_filesize(entry, 0) != -1 || entry->de_file_removed) &&
entry->de_data_errors < DVR_MAX_DATA_ERRORS;
}

Expand Down

0 comments on commit 371cf6d

Please sign in to comment.