mirror of
https://gitlab.freedesktop.org/pipewire/pipewire.git
synced 2025-11-04 13:30:12 -05:00
fix TIMESPEC_TO_NSEC
This commit is contained in:
parent
8d9aae061b
commit
aade499aae
5 changed files with 5 additions and 5 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue