This will avoid some dirty casts between DIR and vlc_DIR on Windows.
The Windows handling could be done entirely without dirent.h which is not a
standard Windows API.
a sentence should not be broken up across multiple paragraphs. if forcing
part of the paragraph onto a new line is wanted, there's the line break
tag, and if that does not give the desired line spacing, this can be
tweaked with css.
This makes it consistent with all the other uses of such defines in
the source code, which are tested for their existence rather than the
actual value.
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>