[vlc-devel] [PATCH] Minor update to LUA's SD Api

Julien 'Lta' BALLET elthariel at gmail.com
Tue Jan 21 16:54:08 CET 2014


Hi,

The lua sd api expose a call nammes 'remove_item' that allows to
remove an item from the current SD playlist. That call is not working
on 'node' elements, since this is a different structure for lua (ie
metatable). This patch simply duplicate the remove_item method for
node (-> remove_node).

I wasn't able to extend the existing function because
'luaL_checkudata( L, 1, "input_item_t" )' raises an error if this
isn't the exact type, i cannot chain two calls.

Regards,
Julien.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-Extends-lua-s-SD-API-to-add-a-remove_node-method-sim.patch
Type: text/x-patch
Size: 1491 bytes
Desc: not available
URL: <http://mailman.videolan.org/pipermail/vlc-devel/attachments/20140121/f5fa1dde/attachment.bin>


More information about the vlc-devel mailing list