Fix pthread_cond_timedwait() time argument

pthread_cond_timedwait() expects absolute time, otherwise it exits
immediately, and as result we get 100% CPU load
Make video part working, aspect rate is not preserved yet