Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
DVR: fix the extra pre-time calculation
  • Loading branch information
perexg committed Mar 8, 2016
1 parent 9cf1bc7 commit c5487b2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/dvr/dvr_db.c
Expand Up @@ -214,7 +214,7 @@ dvr_entry_warm_time( dvr_entry_t *de )
time_t
dvr_entry_get_start_time( dvr_entry_t *de, int warm )
{
int64_t b = (dvr_entry_get_extra_time_pre(de)) -
int64_t b = (dvr_entry_get_extra_time_pre(de)) +
(warm ? dvr_entry_warm_time(de) : 0);
if (de->de_start < b)
return 0;
Expand Down

0 comments on commit c5487b2

Please sign in to comment.