Permalink
Browse files

[droid] fixed, move EPC_AMLPLAYER to end of list so we do not break e…

…xisting scripts
  • Loading branch information...
1 parent 477e7b1 commit 475dfc0141118400a21249274e72cc11685fb789 @davilla davilla committed with Cory Fields Aug 1, 2012
Showing with 3 additions and 3 deletions.
  1. +1 −1 xbmc/Application.cpp
  2. +2 −2 xbmc/cores/playercorefactory/PlayerCoreFactory.h
View
@@ -2231,7 +2231,7 @@ void CApplication::Render()
// Less fps in DPMS
bool lowfps = m_dpmsIsActive;
// Whether externalplayer is playing and we're unfocused
- bool extPlayerActive = m_eCurrentPlayer >= EPC_EXTPLAYER && IsPlaying() && !m_AppFocused;
+ bool extPlayerActive = m_eCurrentPlayer == EPC_EXTPLAYER && IsPlaying() && !m_AppFocused;
m_bPresentFrame = false;
if (!extPlayerActive && g_graphicsContext.IsFullScreenVideo() && !IsPaused())
@@ -37,10 +37,10 @@ enum EPLAYERCORES
EPC_DVDPLAYER,
EPC_MPLAYER,
EPC_PAPLAYER,
+ EPC_EXTPLAYER,
#if defined(HAS_AMLPLAYER)
- EPC_AMLPLAYER,
+ EPC_AMLPLAYER
#endif
- EPC_EXTPLAYER
};
typedef unsigned int PLAYERCOREID;

0 comments on commit 475dfc0

Please sign in to comment.