FernetMenta/xbmc — pull request #151 by t-nelson (2013-07-21 03:16:06+00:00)
Title: Viz crash fix

These commits fix a reproducible crash when stopping playback from viz as screensaver window. It's very racy as I could only manage to get it to crash consistently on my ION HTPC. The first commit seems to be enough, but I suspect the risk is still there without the locking introduced in the second commit. @fritsch had some reservations about adding locking here, so the second commit is an RFC.