Commit c561cd7a 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
(cherry picked from commit 120e9bb4)
Signed-off-by: default avatarDerk-Jan Hartman <hartman@videolan.org>
parent 21993ca4
...@@ -734,7 +734,7 @@ int vout_GetSnapshot( vout_thread_t *p_vout, ...@@ -734,7 +734,7 @@ int vout_GetSnapshot( vout_thread_t *p_vout,
mdate() < i_deadline ) mdate() < i_deadline )
{ {
vlc_cond_timedwait( &p_sys->snapshot.wait, &p_sys->snapshot.lock, vlc_cond_timedwait( &p_sys->snapshot.wait, &p_sys->snapshot.lock,
i_timeout ); i_deadline );
} }
picture_t *p_picture = p_sys->snapshot.p_picture; 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