fix timing issues with rawtsinput (file input).
This commit is contained in:
parent
174bc64c69
commit
aecded7c4e
1 changed files with 1 additions and 1 deletions
|
@ -267,7 +267,7 @@ process_ts_packet(rawts_t *rt, uint8_t *tsb)
|
|||
slp.tv_sec = d / 1000000;
|
||||
slp.tv_nsec = (d % 1000000) * 1000;
|
||||
|
||||
clock_nanosleep(CLOCK_MONOTONIC_COARSE, TIMER_ABSTIME, &slp, NULL);
|
||||
clock_nanosleep(CLOCK_MONOTONIC, TIMER_ABSTIME, &slp, NULL);
|
||||
didsleep = 1;
|
||||
}
|
||||
t->s_pcr_last = pcr;
|
||||
|
|
Loading…
Add table
Reference in a new issue