From the player, listen to vlc_player_cbs.on_length_changed.
From the parser, listen to vlc_metadata_cbs.on_preparse_ended.
This event will be send only one time from the parser.
This event can be send several time (when the demux is updating the
length) from the player.
From the player, listen to vlc_player_cbs.on_media_meta_changed.
From the parser, listen to vlc_metadata_cbs.on_preparse_ended.
This event will be send only one time from the parser for all meta types.
This event can be send several time (when the demux is updating meta)
from the player, for all meta types.
The output is a bitstream in some codec, not a chroma that can be used as such.
The codec value should not be set as a chroma in the video_format_t.
The output video format is only used to force some dimensions on the output
that may not be the ones from the source.
Signal that the media is stopping to the libvlc client. This is done
after notifying the media on the VLC side that we're going to stop it,
so that application can rely on the fact that the objects using
application resources are already stopping, so that we can trigger
actions like EOS, closing those resources, etc.
Splitting the function allows return statement, which removes the need
for break, and simplify the code. It also allows to use a designated
initializer for the event structure.
The code also move the vlc_assert_unreachable in the new function.
By moving the vlc_assert_unreachable after the switch(), we can get
warnings when not every cases are handled since there is no default
case, and we can keep asserting when it fails to reach any return
statement before.
By moving the vlc_assert_unreachable after the switch(), we can get
warnings when not every cases are handled since there is no default
case, and we can keep asserting when it fails to reach any return
statement before.
The tests are not run and are only compiled to object, without linkage.
It's pretty fast, and would help noticing when a forward declaration or
an include is missing from one of the files.
We should not rebuild a lot of Qt files when changing the subpictures.
It's still included in vlc_codec.h so all encoders/decoders are still
impacted by such changes.
Setting the target DEPENDENCIES might lead to confusing behaviour where
dependencies added to LIBADD are not propagated correctly. The automake
manual suggest using `EXTRA_%_DEPENDENCIES` when the goal is to augment
the automake-generated `%_DEPENDENCIES` instead.
Automake will correctly ignore any file included into a target source
when there is no suffix rule existing for turning those files into a
.$(OBJEXT) file.
Also, setting libvlccore.sym into a target _SOURCES automatically
configure it for distribution.
WebP has been added as an output format option in the VLC application
from commits ce9d83398e for image and
6e88c7160a for snapshot.
This commit also exposes the API to export WebP images from the libvlc
thumbnailing API.
Use a separate function to list the picture formats supported by libvlc,
easing the addition of new ones and improving the code readability in
client code.
Use a static stable to map the available libvlc picture format to
vlccore fourcc values, reducing the amount of code needed. Indeed, the
libvlc picture format are limited to the values from the enum, and thus
much simpler to hardcode in an array.
when using libvlc_video_set_output_callbacks, VLC has no native surface to
intercept mouse events (unlike libvlc_media_player_set_xwindow/xid/...). This
patch allows user to send these events manually to VLC. This is useful when
dealing with interactive medias (DVD menus).
HTML help that is shown instead of the plain help text where appropriate
and supported by the interface. The command-line help output and the Qt
GUI plugin tooltips show the plain help text, while the Qt GUI plugin
preferences page displays the HTML help, if available, falling back to
displaying the plain help otherwise.
Allows to present the help text in a more structured and expressive way.
Also useful for out-of-tree plugins, in case they want to link to
plugin's home page, bug tracker, donation page, etc.
For the supported HTML subset, see
https://doc.qt.io/qt-6/richtext-html-subset.htmlFixes#27798