Merge pull request #4626 from Voyager1/fix-trac15163
authorjmarshallnz <jcmarsha@gmail.com>
Thu, 1 May 2014 07:01:49 +0000 (19:01 +1200)
committerJonathan Marshall <jmarshall@xbmc.org>
Thu, 1 May 2014 20:03:34 +0000 (08:03 +1200)
[fix] only check video playlist status to determine fullscreen playback

xbmc/Application.cpp

index 5e31453..b9383f0 100644 (file)
@@ -4026,7 +4026,7 @@ PlayBackRet CApplication::PlayFile(const CFileItem& item, bool bRestart)
   // this really aught to be inside !bRestart, but since PlayStack
   // uses that to init playback, we have to keep it outside
   int playlist = g_playlistPlayer.GetCurrentPlaylist();
-  if (item.IsVideo() && g_playlistPlayer.GetPlaylist(playlist).size() > 1)
+  if (item.IsVideo() && playlist == PLAYLIST_VIDEO && g_playlistPlayer.GetPlaylist(playlist).size() > 1)
   { // playing from a playlist by the looks
     // don't switch to fullscreen if we are not playing the first item...
     options.fullscreen = !g_playlistPlayer.HasPlayedFirstFile() && g_advancedSettings.m_fullScreenOnMovieStart && !CMediaSettings::Get().DoesVideoStartWindowed();