some cec volume fixes

Conflicts:
	src/neutrino.cpp
This commit is contained in:
TangoCash
2021-11-05 21:11:08 +01:00
committed by Thilo Graf
parent 2cf0cb9d06
commit 373807b158
3 changed files with 8 additions and 7 deletions

View File

@@ -197,6 +197,7 @@ int CLuaInstMisc::enableMuteIcon(lua_State *L)
int CLuaInstMisc::setVolume(lua_State *L)
{
if (g_settings.hdmi_cec_volume) return 0;
CLuaMisc *D = MiscCheckData(L, 1);
if (!D) return 0;
lua_Integer vol = luaL_checkint(L, 2);