xbmc/xbmc — pull request #3206 by herrnst (2013-09-07 10:51:13+00:00)
Title: ApplicationPlayer: do Reset() directly on the member instead of the sharedptr

Doing Reset() on the smart/sharedptr didn't really reset things, which resulted in the effect that players (e.g. paplayer->dvdplayer) where not switched anymore when after application start music was played via paplayer, then a video was played (should be done with dvdplayer, but paplayer was kept). This fixes things introduced in PR#3200 by letting ClosePlayer() do it's cleanups with the sharedptr, but then (lock first) reset() the member directly. This still retains the fix #3200 was intended for and makes players switchable again.