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

vout_intf: turn the hardcoded snapshot timeout value into a CLOCK_FREQ based value

Signed-off-by: Rémi Denis-Courmont's avatarRémi Denis-Courmont <>
parent cca471de
......@@ -386,7 +386,7 @@ static void VoutSaveSnapshot( vout_thread_t *p_vout )
/* 500ms timeout
* XXX it will cause trouble with low fps video (< 2fps) */
if( vout_GetSnapshot( p_vout, &p_image, &p_picture, NULL, psz_format, 500*1000 ) )
if( vout_GetSnapshot( p_vout, &p_image, &p_picture, NULL, psz_format, CLOCK_FREQ/2 ) )
p_picture = NULL;
p_image = NULL;
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