Skip to content
This repository has been archived by the owner on Sep 30, 2018. It is now read-only.

Commit

Permalink
[droid] fixed, move EPC_AMLPLAYER to end of list so we do not break e…
Browse files Browse the repository at this point in the history
…xisting scripts
  • Loading branch information
davilla authored and Cory Fields committed Aug 3, 2012
1 parent 477e7b1 commit 475dfc0
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion xbmc/Application.cpp
Expand Up @@ -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())
Expand Down
4 changes: 2 additions & 2 deletions xbmc/cores/playercorefactory/PlayerCoreFactory.h
Expand Up @@ -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;
Expand Down

0 comments on commit 475dfc0

Please sign in to comment.