From: John Törnblom Date: Sat, 27 Oct 2012 17:14:39 +0000 (+0200) Subject: fix timing issues with rawtsinput (file input). X-Git-Tag: v3.5~308 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=aecded7c4e93189c6abbb741b2bd3c10b76fe31b;p=thirdparty%2Ftvheadend.git fix timing issues with rawtsinput (file input). --- diff --git a/src/rawtsinput.c b/src/rawtsinput.c index a947de569..bd4a50989 100644 --- a/src/rawtsinput.c +++ b/src/rawtsinput.c @@ -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;