Some implementations are buggy and lock resources (for example the display or
internal data structures) in different order, which results in deadlocks.
As XVMC_LOCKDISPLAY_SAFE is not defined by default, most API functions will
now be guarded by a LockDisplay()/UnlockDisplay() pair, which imposes a lock
order at least for the resource display and hence avoids those deadlocks.
1 file changed, 9 insertions(+), 1 deletion(-)
src/video_out/xxmc.h | 10 +++++++++-
Get latest updates about Open Source Projects, Conferences and News.