When the video output driver (e. g. vdpau) has no need to use XLockDisplay()
to synchronize it's output operation, it is likely that we get an output
callback while we are about to change the drawable and hence deadlock.
Using a timed lock avoids the deadlock and the callback returns immediately.
As we are about to change drawable anyway, leaving the callback early doesn't
matter at that time.
src/xitk/videowin.c | 20 +++++++++++++++++++-
1 files changed, 19 insertions(+), 1 deletions(-)
Get latest updates about Open Source Projects, Conferences and News.