vlc/vlc-1.1 | branch: master | Rémi Denis-Courmont <[email protected]> | Sun Aug 15 19:08:22 2010 +0300| [73d2916f1bcd8a660a2b99017d69e72b1b3007af] | committer: Rémi Denis-Courmont
LUA: unimplement unsafe OSD channel functions (refs #3927) (They are only used by LUA hotkeys anyway) > http://git.videolan.org/gitweb.cgi/vlc/vlc-1.1.git/?a=commit;h=73d2916f1bcd8a660a2b99017d69e72b1b3007af --- modules/misc/lua/libs/osd.c | 7 ++----- 1 files changed, 2 insertions(+), 5 deletions(-) diff --git a/modules/misc/lua/libs/osd.c b/modules/misc/lua/libs/osd.c index e0ee7db..e66c0af 100644 --- a/modules/misc/lua/libs/osd.c +++ b/modules/misc/lua/libs/osd.c @@ -134,10 +134,8 @@ static int vlclua_spu_channel_register( lua_State *L ) if( !p_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 ); - lua_pushinteger( L, i_chan ); - return 1; + return luaL_error( L, "Not implemented." ); } 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 ) return luaL_error( L, "Unable to find vout." ); - spu_Control( vout_GetSpu( p_vout ), SPU_CHANNEL_CLEAR, i_chan ); vlc_object_release( p_vout ); - return 0; + return luaL_error( L, "Not implemented." ); } static int vlclua_menu_show( lua_State *L ) _______________________________________________ vlc-commits mailing list [email protected] http://mailman.videolan.org/listinfo/vlc-commits
