diff options
author | Kai Sommerfeld <kai.sommerfeld@gmx.com> | 2016-11-27 13:17:52 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2016-11-27 13:17:52 +0100 |
commit | 0a7da6525d4d97162a5973baf38d500b2f3f672e (patch) | |
tree | f6baaefab9f2849e493ddae5ee466aac08efaa41 | |
parent | 3e5b11e03646a9fa8b8e7ab2cc2a2066788bbbf5 (diff) | |
parent | 980c3ecc3232842174359a030045fb53951285d7 (diff) |
Merge pull request #10995 from ksooo/pvr-fix-first-channel-info
[PVR] Fullscreen video: On up/down and no channel info is currently s…
-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); |