dvr: only actually write packets if we're past our start time (we don't want to write during preamble)
This commit is contained in:
parent
e0d2cacf9c
commit
be0cc37dd8
1 changed files with 2 additions and 1 deletions
|
@ -405,7 +405,8 @@ dvr_thread(void *aux)
|
|||
|
||||
pthread_mutex_unlock(&st->st_mutex);
|
||||
|
||||
dvr_thread_new_pkt(de, pr->pr_pkt);
|
||||
if(dispatch_clock > de->de_start)
|
||||
dvr_thread_new_pkt(de, pr->pr_pkt);
|
||||
|
||||
pkt_ref_dec(pr->pr_pkt);
|
||||
free(pr);
|
||||
|
|
Loading…
Add table
Reference in a new issue