Commit 988d9cb2 authored by Steve Lhomme's avatar Steve Lhomme Committed by Rémi Denis-Courmont

video_output: turn the deadline duration into a CLOCK_FREQ based value

Signed-off-by: Rémi Denis-Courmont's avatarRémi Denis-Courmont <remi@remlab.net>
parent 44c66f48
......@@ -1798,7 +1798,7 @@ static void *Thread(void *object)
if (wait)
{
const mtime_t max_deadline = mdate() + 100000;
const mtime_t max_deadline = mdate() + CLOCK_FREQ/10;
deadline = deadline == VLC_TS_INVALID ? max_deadline : __MIN(deadline, max_deadline);
} else {
deadline = VLC_TS_INVALID;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment