projects
/
vuplus_xbmc
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
6b327e3
)
fix broken compile
author
S. Davilla
<davilla@4pi.com>
Tue, 8 Oct 2013 21:24:11 +0000
(17:24 -0400)
committer
S. Davilla
<davilla@4pi.com>
Tue, 8 Oct 2013 21:24:45 +0000
(17:24 -0400)
xbmc/Application.cpp
patch
|
blob
|
history
diff --git
a/xbmc/Application.cpp
b/xbmc/Application.cpp
index
a840870
..
7b5b2bf
100644
(file)
--- a/
xbmc/Application.cpp
+++ b/
xbmc/Application.cpp
@@
-1692,6
+1692,7
@@
bool CApplication::OnSettingUpdate(CSetting* &setting, const char *oldSettingId,
return true;
}
}
+#if defined(HAS_LIBAMCODEC)
else if (settingId == "videoplayer.useamcodec")
{
// Do not permit amcodec to be used on non-aml platforms.
@@
-1703,6
+1704,8
@@
bool CApplication::OnSettingUpdate(CSetting* &setting, const char *oldSettingId,
useamcodec->SetValue(false);
}
}
+#endif
+#if defined(TARGET_ANDROID)
else if (settingId == "videoplayer.usemediacodec")
{
// Do not permit MediaCodec to be used Android platforms that do not have it.
@@
-1714,6
+1717,7
@@
bool CApplication::OnSettingUpdate(CSetting* &setting, const char *oldSettingId,
usemediacodec->SetValue(false);
}
}
+#endif
return false;
}