Commit 73d2916f authored by Rémi Denis-Courmont's avatar Rémi Denis-Courmont

LUA: unimplement unsafe OSD channel functions (refs #3927)

(They are only used by LUA hotkeys anyway)
parent aa401e54
...@@ -134,10 +134,8 @@ static int vlclua_spu_channel_register( lua_State *L ) ...@@ -134,10 +134,8 @@ static int vlclua_spu_channel_register( lua_State *L )
if( !p_vout ) if( !p_vout )
return luaL_error( L, "Unable to find vout." ); return luaL_error( L, "Unable to find vout." );
spu_Control( vout_GetSpu( p_vout ), SPU_CHANNEL_REGISTER, &i_chan );
vlc_object_release( p_vout ); vlc_object_release( p_vout );
lua_pushinteger( L, i_chan ); return luaL_error( L, "Not implemented." );
return 1;
} }
static int vlclua_spu_channel_clear( lua_State *L ) static int vlclua_spu_channel_clear( lua_State *L )
...@@ -149,9 +147,8 @@ static int vlclua_spu_channel_clear( lua_State *L ) ...@@ -149,9 +147,8 @@ static int vlclua_spu_channel_clear( lua_State *L )
if( !p_vout ) if( !p_vout )
return luaL_error( L, "Unable to find vout." ); return luaL_error( L, "Unable to find vout." );
spu_Control( vout_GetSpu( p_vout ), SPU_CHANNEL_CLEAR, i_chan );
vlc_object_release( p_vout ); vlc_object_release( p_vout );
return 0; return luaL_error( L, "Not implemented." );
} }
static int vlclua_menu_show( lua_State *L ) static int vlclua_menu_show( lua_State *L )
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment