fix TIMESPEC_TO_NSEC

This commit is contained in:
Wim Taymans 2018-11-07 10:07:48 +01:00
parent 8d9aae061b
commit aade499aae
5 changed files with 5 additions and 5 deletions

View file

@ -91,7 +91,7 @@ static void on_timeout(void *userdata, uint64_t expirations)
#if 0
struct timespec now;
clock_gettime(CLOCK_MONOTONIC, &now);
h->pts = SPA_TIMESPEC_TO_TIME(&now);
h->pts = SPA_TIMESPEC_TO_NSEC(&now);
#else
h->pts = -1;
#endif