diff options
author | jmarshallnz <jcmarsha@gmail.com> | 2014-05-01 19:01:49 +1200 |
---|---|---|
committer | Jonathan Marshall <jmarshall@xbmc.org> | 2014-05-02 08:03:34 +1200 |
commit | 8919befdb4eebafaacd79d315135289361cfa650 (patch) | |
tree | 7bd90a4727f5aed901b9334d64e194d2134e3212 | |
parent | fc2b1b2c1ad0d235b91a33e430d39bd63de71f58 (diff) |
Merge pull request #4626 from Voyager1/fix-trac15163
[fix] only check video playlist status to determine fullscreen playback
-rw-r--r-- | xbmc/Application.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/xbmc/Application.cpp b/xbmc/Application.cpp index 5e314530eb..b9383f0112 100644 --- a/xbmc/Application.cpp +++ b/xbmc/Application.cpp @@ -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(); |