Commit 44c66f48 authored by Steve Lhomme's avatar Steve Lhomme Committed by Rémi Denis-Courmont

video_output: init the chrono with a CLOCK_FREQ based value

Signed-off-by: Rémi Denis-Courmont's avatarRémi Denis-Courmont <remi@remlab.net>
parent 65cc781c
......@@ -1599,7 +1599,7 @@ static void ThreadInit(vout_thread_t *vout)
vout->p->pause.is_on = false;
vout->p->pause.date = VLC_TS_INVALID;
vout_chrono_Init(&vout->p->render, 5, 10000); /* Arbitrary initial time */
vout_chrono_Init(&vout->p->render, 5, CLOCK_FREQ/100); /* Arbitrary initial time */
}
static void ThreadClean(vout_thread_t *vout)
......
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