Commit 120e9bb4 authored by Derk-Jan Hartman's avatar Derk-Jan Hartman

core vout: Fix snapshots

vlc_cond_timedwait() for the snapshots was using the wrong timevalue.
Thx to fenrir for helping me chase this one. Fixes #2819
parent 004e67b4
......@@ -700,7 +700,7 @@ int vout_GetSnapshot( vout_thread_t *p_vout,
mdate() < i_deadline )
{
vlc_cond_timedwait( &p_sys->snapshot.wait, &p_sys->snapshot.lock,
i_timeout );
i_deadline );
}
picture_t *p_picture = p_sys->snapshot.p_picture;
......
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