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

@ -294,7 +294,7 @@ static int impl_node_send_command(struct spa_node *node, const struct spa_comman
clock_gettime(CLOCK_MONOTONIC, &now);
if (this->props.live)
this->start_time = SPA_TIMESPEC_TO_TIME(&now);
this->start_time = SPA_TIMESPEC_TO_NSEC(&now);
else
this->start_time = 0;
this->buffer_count = 0;