xbmc/xbmc — pull request #1242 by Memphiz (2012-08-04 23:38:40+00:00)
Title: Don't adjust refreshrate back to RES_DESKTOP while movie is still playing...

This is a feature request from the forum and i really want this.

When we play a movie with refreshrate adjustment and we switch to the menu while having the movie in the background - the desktop resoltution is set. In that case the refreshrate is also set back to 60hz normally. So whenever we change between fullscreen and menu overlay we get the annoying refreshrate switchtime (depends on the tv - but usually some secs black screen).

This PR only changes back to res_desktop when no movie is playing. So we get a smooth instant transition from videofullscreen to the overlay menu and only switch refreshrates when we start or stop a movie.