aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorgimli <ebsi4711@gmail.com>2012-09-04 19:47:43 +0200
committergimli <ebsi4711@gmail.com>2012-09-04 19:47:43 +0200
commit4318e82ae104d968465f1ee2a9cafe179d1843f9 (patch)
treeb4093cc1811e866f50f78af1ce2d3b007e860039
parentb134678c45fabae17e63419690abf4ef162e3696 (diff)
[rbp] omxplayer is also gappless. somehow
-rw-r--r--xbmc/Application.cpp6
1 files changed, 5 insertions, 1 deletions
diff --git a/xbmc/Application.cpp b/xbmc/Application.cpp
index f737abfd38..ae789abb09 100644
--- a/xbmc/Application.cpp
+++ b/xbmc/Application.cpp
@@ -4098,7 +4098,11 @@ bool CApplication::PlayFile(const CFileItem& item, bool bRestart)
// one of the players that allows gapless playback (paplayer, dvdplayer)
if (m_pPlayer)
{
- if ( !(m_eCurrentPlayer == eNewCore && (m_eCurrentPlayer == EPC_DVDPLAYER || m_eCurrentPlayer == EPC_PAPLAYER)) )
+ if ( !(m_eCurrentPlayer == eNewCore && (m_eCurrentPlayer == EPC_DVDPLAYER || m_eCurrentPlayer == EPC_PAPLAYER
+#if defined(HAS_OMXPLAYER)
+ || m_eCurrentPlayer == EPC_OMXPLAYER
+#endif
+ )) )
{
delete m_pPlayer;
m_pPlayer = NULL;