The config "advanced" flag was unused and has been removed by
6a7a137f7b.
It has been removed from many add_*() macros, but not all. Remove it
from the remaining macros.
where identical to shorttext, or near enough.
bad because:
- wastes resources.
- useless tooltips in prefs GUI (poor UX) - tooltip longtext should add
something of value.
- useless repetition of text in certain help output.
in some cases they differed only in full-stop, creating unnecessary extra
burden on translators.
luaL_setfuncs exists since lua5.2 and luaL_register was already
deprecated at that version. Using the luaL_register since Lua 5.2
prevents using the deprecated function but mostly also enforce the
future state of the code to be used on more platforms.
As a single metatable for vlc_object exists
all lua objects in objects.c would be freed
with the same release function
That caused segmentation faults
Signed-off-by: Rémi Denis-Courmont <remi@remlab.net>
Every registered channels need to be unregistered. The first 3 OSD channels
don't need to be unregistered since they are automatically registered.
sput_t now use a vector of struct spu_channel to keep its channels. This struct
will contain parameters specific to a channel like the clock/delay/rate.
The channel_id is now a ssize_t, -1 being invalid, 0, 1, 2 being the OSD
channels, and [3; SSIZE_MAX] being registered spu channels.
ES_OUT_VOUT_FLUSH_OVERLAY is renamed to ES_OUT_VOUT_DEL_OVERLAY since this
control is only used to delete an overlay.
Refs #22273
Services discovery media were displayed via the old playlist, which allowed to
display their tree.
The new playlist is not a tree, but a list, so it can't be used to display
services discovery trees. This lua API is only used from cli.lua, and we
consider it's not worth it to implement this feature for now, so just remove
it.
Signed-off-by: Thomas Guillem <thomas@gllm.fr>
Many features were handled from LUA via VLC variables.
Expose functions for the new player and playlist instead.
Signed-off-by: Thomas Guillem <thomas@gllm.fr>
In addition to the existant playlist.current(), returning the current
item id, expose a function returning the item itself.
Signed-off-by: Thomas Guillem <thomas@gllm.fr>
The lua API exposed a function to search in (actually, filter) the
playlist. The filtering was directly applied on the core playlist,
so every playlist clients shared the same filter.
The new playlist does not filter. Instead, each client could create its
own filtered view of the core playlist.
We do not want to invest time to implement this for the lua API for now,
so remove the search feature of the "cli" interface.
Signed-off-by: Thomas Guillem <thomas@gllm.fr>