]> git.tuebingen.mpg.de Git - paraslash.git/commitdiff
server: Fix --autoplay-delay.
authorAndre Noll <maan@tuebingen.mpg.de>
Wed, 1 Jun 2016 16:59:09 +0000 (18:59 +0200)
committerAndre Noll <maan@tuebingen.mpg.de>
Wed, 1 Jun 2016 16:59:09 +0000 (18:59 +0200)
init_vss_task() is called before the scheduler has initialized the
timeval available everywhere through the global now pointer. Hence,
in this function ->now is {0, 0}, and the computed autoplay barrier
will be in the past, effectively making --autoplay-delay a no-op.

Fix this by calling clock_get_realtime() to get the current time.


No differences found