[vlc-commits] [Git][videolan/libvlcpp][master] 32 commits: Remove version guards
Felix Paul Kühne (@fkuehne)
gitlab at videolan.org
Wed Jul 1 08:40:13 UTC 2026
Felix Paul Kühne pushed to branch master at VideoLAN / libvlcpp
Commits:
10c25ab8 by Ayush Dey at 2026-07-01T13:42:54+05:30
Remove version guards
Backward compatibility won't be supported after the 4.0 rework.
- - - - -
38dd7509 by Ayush Dey at 2026-07-01T13:42:54+05:30
common: modify CallbackWrapper::wrap to support libVLC argument wrapping
Modify the CallbackWrapper::wrap method to accept an optional template parameter pack,
to wrap libVLC argument to libvlcpp wrapper. Add an SFINAE overloaded helper method
argWrapper for the internal wrapping operation.
- - - - -
4422cc6b by Ayush Dey at 2026-07-01T13:42:54+05:30
Media: adapt libvlc_media_new_callbacks binding call
Create Media::Callbacks class to store the callbacks and pass an object reference
of it through the binding constructor of libvlc_media_new_callbacks.
The opaque boxing strategy is adapted to be decided at run-time based on whether
an openCb callback was provided by the user.
- - - - -
ad890455 by Ayush Dey at 2026-07-01T13:42:54+05:30
common: remove unused struct GuessBoxingStrategy
- - - - -
a61578f7 by Ayush Dey at 2026-07-01T13:42:54+05:30
Picture: add WebP and Rgba picture types
- - - - -
00b0dc0a by Ayush Dey at 2026-07-01T13:42:54+05:30
Picture: add class Picture::List
Wrapper class for libvlc_picture_list_t*. Will be required for the
next commit.
- - - - -
29ec06f2 by Ayush Dey at 2026-07-01T13:42:54+05:30
Parser: add Parser class
According to libVLC 4.0 rework, parsing has it's own set of libvlc_parser_*
APIs. Hence, a new Parser class is created. Remove old libvlc_media_* parsing
API bindings.
- - - - -
c5853f71 by Ayush Dey at 2026-07-01T13:45:27+05:30
common: add an argWrapper overload for Picture object
Because libvlc_thumbnailer_cbs::on_ended callback is passed
with a NULL libvlc_picture_t* in case of cancellation, error or
timeout. Hence, we pass an empty Picture object in that case.
This will be used by thumbnailer API in the next commit.
- - - - -
12a5cbfb by Ayush Dey at 2026-07-01T13:45:42+05:30
Parser: add thumbnailer bindings
Remove thumbnailer related bindings in Media.hpp.
Similar to libVLC rework, now a single Parser object
can be used for multiple parsing and thumbnail generation
operations.
- - - - -
bb3dfb8e by Ayush Dey at 2026-07-01T13:45:42+05:30
MediaDiscoverer: adapt libvlc_media_discoverer_new binding call
Create MediaDiscoverer::Callbacks class to store the callbacks and
pass an object reference of it through the binding constructor of
libvlc_media_discoverer_new.
Also, rename libvlc_media_discoverer_release to libvlc_media_discoverer_destroy
- - - - -
e2a8402d by Ayush Dey at 2026-07-01T13:45:42+05:30
MediaDiscoverer: remove libvlc_media_discoverer_media_list bindings
- - - - -
69e4ff99 by Ayush Dey at 2026-07-01T13:45:42+05:30
RendererDiscoverer: handle NULL return in RendererDiscoverer::Item::iconUri
Handle NULL return in Equalizer::presetName
- - - - -
e782e2fe by Ayush Dey at 2026-07-01T13:45:42+05:30
RendererDiscoverer: adapt libvlc_renderer_discoverer_new binding call
Create RendererDiscoverer::Callbacks class to store the callbacks and
pass an object reference of it through the binding constructor of
libvlc_renderer_discoverer_new.
Also, rename libvlc_renderer_discoverer_release to libvlc_renderer_discoverer_destroy
- - - - -
d11ff550 by Ayush Dey at 2026-07-01T13:45:42+05:30
structures: rename libvlc_media_track_hold to libvlc_media_track_retain
- - - - -
7406b784 by Ayush Dey at 2026-07-01T13:45:42+05:30
structures: accept const libvlc_chapter_description_t* in ChapterDescription constructor
- - - - -
660b4508 by Ayush Dey at 2026-07-01T13:45:42+05:30
MediaPlayer: add getTrackFromId method
Binding of libvlc_media_player_get_track_from_id. Will be required
by the user in some of the callbacks, that will be defined in the
next commit.
- - - - -
ba59e60a by Ayush Dey at 2026-07-01T13:45:42+05:30
MediaPlayer: adapt libvlc_media_player_new binding calls
Create MediaPlayer::Callbacks class to store the callbacks and
pass an object reference of it through the binding constructor of
libvlc_media_player_new and libvlc_media_player_new_from_media.
- - - - -
01fcb385 by Ayush Dey at 2026-07-01T13:45:42+05:30
MediaListPlayer: remove setMediaPlayer method
Binding for libvlc_media_list_player_set_media_player
- - - - -
e54ee6cc by Ayush Dey at 2026-07-01T13:45:42+05:30
MediaListPlayer: adapt libvlc_media_list_player_new binding call
- - - - -
8ce14f16 by Ayush Dey at 2026-07-01T13:45:42+05:30
EventManager: remove EventManager
- - - - -
39e73ae1 by Ayush Dey at 2026-07-01T13:45:42+05:30
Instance: set Dialog callback version
- - - - -
0b3cb231 by Ayush Dey at 2026-07-01T13:45:42+05:30
Instance: fix libvlc_dialog_set_error_callback call
- - - - -
13566b07 by Ayush Dey at 2026-07-01T13:45:42+05:30
Internal: remove unused InternalType
- - - - -
76217a0a by Ayush Dey at 2026-07-01T13:47:46+05:30
common: remove MediaPtr usage
Replace it Media object. And if underlying libvlc_media_t* is NULL,
then pass an empty Media object.
- - - - -
e62774b8 by Ayush Dey at 2026-07-01T13:48:08+05:30
structures: adapt MediaTrack to named libvlc_media_track_t union
- - - - -
e600f8ab by Ayush Dey at 2026-07-01T13:48:08+05:30
test: add MediaPlayer tests
Remove previous test with old code.
- - - - -
986f2bc8 by Ayush Dey at 2026-07-01T13:48:08+05:30
test: add tests for parsing and thumbnail generation
- - - - -
25f79cd7 by Ayush Dey at 2026-07-01T13:48:08+05:30
examples: adapt imem and renderer examples
- - - - -
59945064 by Ayush Dey at 2026-07-01T13:48:08+05:30
Use std::chrono::microseconds for time unit
All time units are changed to it, as libVLC now uses a single typed
time unit `libvlc_time_t` as microsecond.
- - - - -
f2980784 by Ayush Dey at 2026-07-01T13:48:08+05:30
ci: bump 4.0 image
As the previous image didn't ship with meson v1.10 which is a vlc requirement
now.
- - - - -
84f71b19 by Ayush Dey at 2026-07-01T13:48:08+05:30
build: update libvlc .wrap fallback
declare-libvlc-dependency.patch has been upstreamed hence removed.
- - - - -
57a8959c by Ayush Dey at 2026-07-01T13:48:08+05:30
build: remove unused libvlc subproject patches
- - - - -
33 changed files:
- .gitlab-ci.yml
- examples/helloworld/main.cpp
- examples/imem/imem.cpp
- examples/renderers/discovery.cpp
- meson.build
- subprojects/libvlc.wrap
- − subprojects/packagefiles/libvlc/0e4be111590da80c4a695e4efc4a007eae604bc8.patch
- − subprojects/packagefiles/libvlc/af374ba7224ea342fe43443b306eac0a856f8784.patch
- − subprojects/packagefiles/libvlc/declare-libvlc-dependency.patch
- + test/MediaPlayer/main.cpp
- + test/MediaPlayer/meson.build
- + test/Parser/meson.build
- vlcpp/MediaLibrary.hpp → test/Parser/parse.cpp
- + test/Parser/thumbnail.cpp
- − test/main.cpp
- test/meson.build
- vlcpp/Dialog.hpp
- vlcpp/Equalizer.hpp
- − vlcpp/EventManager.hpp
- vlcpp/Instance.hpp
- vlcpp/Internal.hpp
- vlcpp/Media.hpp
- vlcpp/MediaDiscoverer.hpp
- vlcpp/MediaList.hpp
- vlcpp/MediaListPlayer.hpp
- vlcpp/MediaPlayer.hpp
- + vlcpp/Parser.hpp
- vlcpp/Picture.hpp
- vlcpp/RendererDiscoverer.hpp
- vlcpp/common.hpp
- vlcpp/meson.build
- vlcpp/structures.hpp
- vlcpp/vlc.hpp
The diff was not included because it is too large.
View it on GitLab: https://code.videolan.org/videolan/libvlcpp/-/compare/adc596337d47f3c794ea709f6237fb88b3a20500...57a8959c41379b5b4448d359a5e404e4dd5502b6
--
View it on GitLab: https://code.videolan.org/videolan/libvlcpp/-/compare/adc596337d47f3c794ea709f6237fb88b3a20500...57a8959c41379b5b4448d359a5e404e4dd5502b6
You're receiving this email because of your account on code.videolan.org. Manage all notifications: https://code.videolan.org/-/profile/notifications | Help: https://code.videolan.org/help
More information about the vlc-commits
mailing list