]> git.sesse.net Git - vlc/commit
vlc-thumb: use pthread conditions
authorRafaël Carré <rafael.carre@gmail.com>
Wed, 15 Jun 2011 03:25:25 +0000 (23:25 -0400)
committerRafaël Carré <rafael.carre@gmail.com>
Wed, 15 Jun 2011 21:09:55 +0000 (17:09 -0400)
commit317f07804c2ce93be7ccb7af188a0c07476efea5
tree99b36449ff200b0b094317d39f1a78693fee9d3c
parent7d049229102f46548c957145baaa18d98e7a9e25
vlc-thumb: use pthread conditions

Also use a static boolean if the condition has been signaled
before we start waiting on it: libvlc_MediaPlayerSnapshotTaken event
is serialized with libvlc_video_take_snapshot() so when the function
returns the event already happened.
doc/libvlc/vlc-thumb.c