Skip to content

Commit

Permalink
[osx] - allow external players (reuse code from linux - works fine wi…
Browse files Browse the repository at this point in the history
…th vlc)
  • Loading branch information
Memphiz committed Aug 25, 2012
1 parent 57fa805 commit 78a1a7a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions xbmc/cores/ExternalPlayer/ExternalPlayer.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -290,7 +290,7 @@ void CExternalPlayer::Process()
BOOL ret = TRUE;
#if defined(_WIN32)
ret = ExecuteAppW32(strFName.c_str(),strFArgs.c_str());
#elif defined(_LINUX)
#elif defined(_LINUX) || defined(TARGET_DARWIN_OSX)
ret = ExecuteAppLinux(strFArgs.c_str());
#endif
int64_t elapsedMillis = XbmcThreads::SystemClockMillis() - m_playbackStartTime;
Expand Down Expand Up @@ -416,7 +416,7 @@ BOOL CExternalPlayer::ExecuteAppW32(const char* strPath, const char* strSwitches
}
#endif

#if defined(_LINUX)
#if defined(_LINUX) || defined(TARGET_DARWIN_OSX)
BOOL CExternalPlayer::ExecuteAppLinux(const char* strSwitches)
{
CLog::Log(LOGNOTICE, "%s: %s", __FUNCTION__, strSwitches);
Expand Down

0 comments on commit 78a1a7a

Please sign in to comment.