diff options
author | Kai Sommerfeld <kai.sommerfeld@gmx.com> | 2016-11-26 22:44:43 +0100 |
---|---|---|
committer | Kai Sommerfeld <kai.sommerfeld@gmx.com> | 2016-11-26 22:44:43 +0100 |
commit | 980c3ecc3232842174359a030045fb53951285d7 (patch) | |
tree | 6d4d2529144479cc0c7f67df8baa88815751625d | |
parent | 28b54e9741d7a6c1b6a6952c93fe01e0a532d1d0 (diff) |
[PVR] Fullscreen video: ON up/down and no channel info is currently shown, display channel info for playing channel, not info for next/prev channel.
-rw-r--r-- | xbmc/pvr/PVRManager.cpp | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/xbmc/pvr/PVRManager.cpp b/xbmc/pvr/PVRManager.cpp index 0e4f7ba693..adc320ff92 100644 --- a/xbmc/pvr/PVRManager.cpp +++ b/xbmc/pvr/PVRManager.cpp @@ -1438,9 +1438,15 @@ bool CPVRManager::PerformChannelSwitch(const CPVRChannelPtr &channel, bool bPrev return false; } - // no need to do anything except switching m_currentFile if (bPreview) { + if (!g_infoManager.GetShowInfo()) + { + // no need to do anything + return true; + } + + // no need to do anything except switching m_currentFile delete m_currentFile; m_currentFile = new CFileItem(channel); |