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

video_widgets: make the 1.2s duration of the widget explicit with CLOCK_FREQ

Signed-off-by: Rémi Denis-Courmont's avatarRémi Denis-Courmont <>
parent 3f761562
......@@ -317,7 +317,7 @@ static void OSDWidget(vout_thread_t *vout, int channel, int type, int position)
subpic->i_channel = channel;
subpic->i_start = mdate();
subpic->i_stop = subpic->i_start + 1200000;
subpic->i_stop = subpic->i_start + 12*CLOCK_FREQ/10;
subpic->b_ephemer = true;
subpic->b_absolute = true;
subpic->b_fade = true;
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