[vlc-commits] [Git][videolan/vlc][work/recents-carousel-video-library] 81 commits: access: cdrom: check strdup
Claudio Cambra (@claucambra)
gitlab at videolan.org
Wed Apr 15 07:03:24 UTC 2026
Claudio Cambra pushed to branch work/recents-carousel-video-library at VideoLAN / VLC
Commits:
0d70243e by François Cartegnie at 2026-04-09T16:29:13+00:00
access: cdrom: check strdup
- - - - -
8c69be05 by François Cartegnie at 2026-04-09T17:43:17+00:00
video_filter: dither: use vlc_alloc
- - - - -
36ad07db by François Cartegnie at 2026-04-09T17:43:17+00:00
video_filter: dither: check for overflow
- - - - -
67162edf by François Cartegnie at 2026-04-09T18:33:09+00:00
demux: libmp4: replace malloc with vlc_alloc
- - - - -
5dee7ce5 by François Cartegnie at 2026-04-09T19:13:06+00:00
vout: direct3d9: use vlc_alloc
- - - - -
74a22fd2 by François Cartegnie at 2026-04-10T03:20:18+00:00
sd: avahi: avahi_address_snprint is always terminated
indirect call to inet_ntop which is 0 terminated
- - - - -
ad801e4f by François Cartegnie at 2026-04-10T03:20:18+00:00
sd: avahi: use AVAHI_ADDRESS_STR_MAX instead of abitrary value
- - - - -
ba56177e by François Cartegnie at 2026-04-10T03:20:18+00:00
sd: avahi: check return of avahi_address_snprint
- - - - -
71b2769f by François Cartegnie at 2026-04-10T03:42:40+00:00
epg: use vlc_alloc
- - - - -
93ce57e8 by François Cartegnie at 2026-04-10T04:31:56+00:00
interop: dxva2: use vlc_alloc
- - - - -
5d4c5977 by Steve Lhomme at 2026-04-10T05:28:42+00:00
demux: mp4: remove stray return line
Should have been removed in b251b0a7e811bfa0b0550824a8e5e571947afd6c.
- - - - -
18e36fab by Martin Finkel at 2026-04-10T06:08:12+00:00
lib: fix wrong event field name in renderer_discoverer doc
- - - - -
9cc6e969 by Martin Finkel at 2026-04-10T07:14:40+00:00
lib: fix operator precedence in libvlc_media_list_path_append
- - - - -
8631ad99 by Martin Finkel at 2026-04-10T08:20:01+00:00
access/ftp: fix va_arg type for STREAM_SET_PAUSE_STATE
- - - - -
1f0535c9 by Thomas Guillem at 2026-04-10T09:21:48+00:00
mediacodec: add missing vlc_video_context_Hold()
This call was missing in the new AImageReader path. This fixes a
possible UAF after a picture is cloned/copied.
PictureDestroyContext release unconditionally the video context, even if our
ctx->destroy implementation use a refcount.
Regression from 0aadefe758b10697b6c0b2515ac94be9186cd1f7
- - - - -
2e49e02d by Alexandre Janniaux at 2026-04-10T10:49:35+00:00
vdummy: fix leftover Control declaration
Missing from 301d3b6da71a71b9759e495ae550121352219089.
- - - - -
a02b93fd by Thomas Guillem at 2026-04-10T11:05:24+00:00
ps: remove forced submodule
We are still searching for a witness that was able to play a video
thanks to this forced submodule.
It's better to fail early than trying to parse garbage.
- - - - -
6d3cf7ca by Claudio Cambra at 2026-04-10T14:37:17+00:00
macosx: Add property to define if a library segment requires the media library
Signed-off-by: Claudio Cambra <developer at claudiocambra.com>
- - - - -
10fba686 by Claudio Cambra at 2026-04-10T14:37:17+00:00
macosx: Disable library segments that have a hard dependency on the media library
Signed-off-by: Claudio Cambra <developer at claudiocambra.com>
- - - - -
b19257e6 by Claudio Cambra at 2026-04-10T14:37:17+00:00
macosx: Prevent selection of disabled segment on startup
Signed-off-by: Claudio Cambra <developer at claudiocambra.com>
- - - - -
180ba1af by Claudio Cambra at 2026-04-10T14:37:17+00:00
macosx: Initialise the status notifier view as hidden
Signed-off-by: Claudio Cambra <developer at claudiocambra.com>
- - - - -
f0b23ca5 by Claudio Cambra at 2026-04-10T14:37:17+00:00
macosx: Display warning if the media library module was not loaded
Signed-off-by: Claudio Cambra <developer at claudiocambra.com>
- - - - -
70d1f8eb by François Cartegnie at 2026-04-10T19:35:02+02:00
audio_filter: ebur128: check for overflow before alloc
- - - - -
75b2c1e8 by Alexandre Janniaux at 2026-04-10T19:49:00+02:00
skins2: meson.build: fix freetype requirement
Before this commit, if freetype was missing, the skins2 module was
silently disabled even if it was forced with -Dskins2=enabled.
Now, it will fail with:
modules/gui/skins2/meson.build:3:5: ERROR: Feature skins2 cannot be enabled: Freetype is not available
- - - - -
a29072fa by Alexandre Janniaux at 2026-04-10T22:02:18+02:00
access: keep screen capture module compiling on macOS 15+
When targeting macOS 15+, CGDisplayCreateImageForRect is marked as
obsoleted and it breaks compilation, even though we build dynamic
modules and the API is still there.
To prevent that, override the SCREEN_CAPTURE_OBSOLETE macro to strip the
obsoleted attribute while preserving the introduced and deprecated
attributes.
This lets the module compile on macOS 15+ SDKs with a deprecation
warning.
- - - - -
fe8febbe by Martin Finkel at 2026-04-11T01:55:47+00:00
lib: fix wrong iteration bound in libvlc_media_tracklist_from_player
- - - - -
6cb24ebe by Martin Finkel at 2026-04-11T01:55:47+00:00
lib: init count to 0 in libvlc_media_tracklist_from_player
- - - - -
753e6b96 by Claudio Cambra at 2026-04-11T02:23:05+00:00
macosx: Fix height/visibility of drag/drop view in play queue sidebar
Signed-off-by: Claudio Cambra <developer at claudiocambra.com>
- - - - -
989833b1 by Claudio Cambra at 2026-04-11T02:23:05+00:00
macosx: Allow dragdrop view to shrink when sidebar is vertically compressed
Signed-off-by: Claudio Cambra <developer at claudiocambra.com>
- - - - -
4ce9e779 by Claudio Cambra at 2026-04-11T06:44:42+00:00
macosx: Define internal padding height for audio group table header view in one place
Signed-off-by: Claudio Cambra <developer at claudiocambra.com>
- - - - -
2e31dedb by Claudio Cambra at 2026-04-11T06:44:42+00:00
macosx: Directly provided padded header height to header view users
Signed-off-by: Claudio Cambra <developer at claudiocambra.com>
- - - - -
7d58f675 by Claudio Cambra at 2026-04-11T06:44:42+00:00
macosx: Unify setup and creation of padded header view
Signed-off-by: Claudio Cambra <developer at claudiocambra.com>
- - - - -
f04a960e by Claudio Cambra at 2026-04-11T06:44:42+00:00
macosx: Reduce vertical size of the header view
Signed-off-by: Claudio Cambra <developer at claudiocambra.com>
- - - - -
aab43529 by Steve Lhomme at 2026-04-11T10:25:34+02:00
meson: use 'enabled' for the spatialaudio module
- - - - -
5966bab9 by Steve Lhomme at 2026-04-11T10:25:34+02:00
meson: fix spatialaudio extra compilation flag
The file to compile is a C++ file and thus uses cpp_args, not c_args.
- - - - -
b530cfdf by Saifelden Mohamed Ismail at 2026-04-11T11:38:43+00:00
access: dvdread: allow type override
- - - - -
6cd1bdca by Saifelden Mohamed Ismail at 2026-04-11T11:38:43+00:00
access: dvdread: add DVD-VR submodule
- - - - -
db895f04 by Saifelden Mohamed Ismail at 2026-04-11T11:38:43+00:00
dvdread: adjust dvd-type fallback behavior
- - - - -
78680661 by Saifelden Mohamed Ismail at 2026-04-11T11:38:43+00:00
dvd-vr: adjust logging for vr
- - - - -
5c535461 by Saifelden Mohamed Ismail at 2026-04-11T11:38:43+00:00
access: dvdread: formatting adjustments
- - - - -
93e847d1 by Steve Lhomme at 2026-04-11T13:20:21+00:00
demux: ts: check block skip size
The result of PKTHeaderAndAFSize() is not checked against the available data.
There's a cap at 187 bytes but the block may contain less data (EOF).
We can't properly subtract i_skip from p_pkt->i_buffer.
If there is too much data to skip the pcr won't be updated.
- - - - -
417a06ca by Steve Lhomme at 2026-04-11T13:20:21+00:00
demux: ts: check block has enough data before checking payload flags
- - - - -
86900498 by Steve Lhomme at 2026-04-11T13:20:21+00:00
demux: ts: check block skip size
The result of PKTHeaderAndAFSize() is not checked against the available data.
If there is too much data to skip we just return like other error checks;
- - - - -
da5f6609 by Steve Lhomme at 2026-04-11T16:21:33+00:00
contrib: mysofa: upgrade to a version with a proper libmysofa.pc
And patch it to use dependencies as static libraries (like zlib).
It's not the most recent builds as new versions tripled the tarball size to 200MB+.
- - - - -
443fe08f by Steve Lhomme at 2026-04-12T04:00:00+00:00
codec: uleaddvaudio: rework block release after using the data
- we don't need to pass a block double pointer, we never set the double pointer
to anything useful
- we can use a generic way to exit the function on error and success
- we need to release the source block once it has been used
Fixes #29518
- - - - -
5d680fd2 by François Cartegnie at 2026-04-12T05:36:11+00:00
demux: libavi: check for chunk size overflow
- - - - -
46b09b52 by Dave Nicolson at 2026-04-12T06:15:42+00:00
chromecast: Fix repeat warning dialog
This prevents the "Performance warning" dialog appearing twice when the cancel button is pressed.
- - - - -
7531dd37 by Serhii Bykov at 2026-04-12T11:27:10+00:00
macosx: replace deprecated nsregularcontrolsize types
- - - - -
263ff9a1 by Steve Lhomme at 2026-04-12T16:54:10+00:00
mmdevice: factorize the code to reset the device name
It's always set to NULL regardless of the if() branch.
- - - - -
a14bb764 by Steve Lhomme at 2026-04-12T16:54:10+00:00
mmdevice: use a local variable for the device name to use
On AUDCLNT_E_DEVICE_INVALIDATED we always reset the device_name to NULL (default device).
- - - - -
3c9bb048 by Steve Lhomme at 2026-04-12T16:54:10+00:00
mmdevice: fix device_name leaks when setting a new value
- - - - -
67362544 by Steve Lhomme at 2026-04-12T16:54:10+00:00
mmdevice: fix device name leak on error
- - - - -
39119024 by Steve Lhomme at 2026-04-13T05:27:06+00:00
packetizer: vc1: only change the frame rate with valid values
i_fps_num or i_fps_den may be 0 if the bits have undocumented values.
We should not update the dts rate if we don't have proper values.
Fixes #29745
- - - - -
39d3a988 by Steve Lhomme at 2026-04-13T05:27:06+00:00
packetizer: vc1: fix indentation
- - - - -
2966037e by Vachan B S at 2026-04-14T05:23:33+00:00
lua/http: fix image fallback for album art
- - - - -
093ad617 by Steve Lhomme at 2026-04-14T15:56:09+02:00
demux: image: fix leak on error
As mentioned in https://code.videolan.org/videolan/vlc/-/merge_requests/8754#note_531008
- - - - -
ef72751d by Alexandre Janniaux at 2026-04-14T18:52:20+02:00
aout: avaudiosession: fix compilation with older Apple SDKs
The setSupportsMultichannelContent method is not available on older
SDKs.
- - - - -
7ac24e43 by Alexandre Janniaux at 2026-04-14T18:52:20+02:00
aout: avsamplebuffer: fix compilation with older Apple SDKs
Add compile-time SDK version guards and @available runtime checks for
delaysRateChangeUntilHasSufficientMediaData (macOS 11.3+/iOS 14.5+/
tvOS 14.5+/watchOS 7.4+) and
AVSampleBufferAudioRendererOutputConfigurationDidChangeNotification
(macOS 12.0+/iOS 15.0+/tvOS 15.0+/watchOS 8.0+) which are not
visible in older SDKs.
- - - - -
c6f924db by Claudio Cambra at 2026-04-14T21:31:57+02:00
macosx: Add VLCLibrarySectionedTableViewDataSource
Signed-off-by: Claudio Cambra <developer at claudiocambra.com>
- - - - -
8faee9ad by Claudio Cambra at 2026-04-14T21:31:57+02:00
macosx: Add flattened row type to video data source
Signed-off-by: Claudio Cambra <developer at claudiocambra.com>
- - - - -
446e0f50 by Claudio Cambra at 2026-04-14T21:31:57+02:00
macosx: Replace master/detail handling in video table view delegate with sectioned table handling
Signed-off-by: Claudio Cambra <developer at claudiocambra.com>
- - - - -
3e546b35 by Claudio Cambra at 2026-04-14T21:31:57+02:00
macosx: Refactor video view controller to set up views as sectioned table view instead of master/detail view
Signed-off-by: Claudio Cambra <developer at claudiocambra.com>
- - - - -
3dae7f48 by Claudio Cambra at 2026-04-14T21:31:57+02:00
macosx: Adapt video data source to flattened table view approach
Signed-off-by: Claudio Cambra <developer at claudiocambra.com>
- - - - -
5bc09a7f by Claudio Cambra at 2026-04-14T21:31:57+02:00
macosx: Keep master/detail view for shows
Signed-off-by: Claudio Cambra <developer at claudiocambra.com>
- - - - -
e0dcad55 by Claudio Cambra at 2026-04-14T21:31:57+02:00
macosx: Make headers for sectioned table view functional
Signed-off-by: Claudio Cambra <developer at claudiocambra.com>
- - - - -
6e32711b by Claudio Cambra at 2026-04-14T21:31:57+02:00
macosx: Remove background from table header view
Signed-off-by: Claudio Cambra <developer at claudiocambra.com>
- - - - -
1579d239 by Claudio Cambra at 2026-04-14T21:31:57+02:00
macosx: Cache array counts in flattened table view data source before iterating
Signed-off-by: Claudio Cambra <developer at claudiocambra.com>
- - - - -
4034598d by Martin Storsjö at 2026-04-14T23:35:10+02:00
contrib: upnp: Backport a patch to fix building with recent mingw versions
Recent versions of mingw-w64 do provide the strndup function.
Upnp used to hardcode that it has to provide its own strndup on
Windows, even though it also had done a configure check for the
function.
This backports commit 679d5b7775386a8dc4d0fffe792dac3a00e5fe41 from
the upstream project.
- - - - -
7f1872a8 by Claudio Cambra at 2026-04-15T06:40:41+00:00
macosx: Add a method to enable video filters in VLCPlayerController
Signed-off-by: Claudio Cambra <developer at claudiocambra.com>
- - - - -
fa4fa301 by Claudio Cambra at 2026-04-15T06:40:41+00:00
macosx: Add a method to apply properties on video filters in VLCPlayerController
Signed-off-by: Claudio Cambra <developer at claudiocambra.com>
- - - - -
49514432 by Claudio Cambra at 2026-04-15T06:40:41+00:00
macosx: Remove use of VLCVideoFilterHelper in VLCMainMenu
Addresses FIXMEs
Signed-off-by: Claudio Cambra <developer at claudiocambra.com>
- - - - -
4a08ca2c by Claudio Cambra at 2026-04-15T06:40:41+00:00
macosx: Add explanations for operations performed in VLCPlayerController enableVideoFilterWithName:state:
Signed-off-by: Claudio Cambra <developer at claudiocambra.com>
- - - - -
03bc0529 by Claudio Cambra at 2026-04-15T06:40:41+00:00
macosx: Remove unnecessary void casting
Signed-off-by: Claudio Cambra <developer at claudiocambra.com>
- - - - -
a72105cd by Claudio Cambra at 2026-04-15T06:40:41+00:00
macosx: Replace lengthOfBytesUsingEncoding with strlen
Signed-off-by: Claudio Cambra <developer at claudiocambra.com>
- - - - -
0355a3bd by Claudio Cambra at 2026-04-15T06:40:41+00:00
macosx: Improve clarity of variable naming, indexing in new player controller methods
Signed-off-by: Claudio Cambra <developer at claudiocambra.com>
- - - - -
7b23c31f by Claudio Cambra at 2026-04-15T15:00:51+08:00
macosx: Add support for displaying carousel rows to video table views
Signed-off-by: Claudio Cambra <developer at claudiocambra.com>
- - - - -
bd82ae42 by Claudio Cambra at 2026-04-15T15:00:51+08:00
macosx: Prevent drag-to-move-window on carousel view
Signed-off-by: Claudio Cambra <developer at claudiocambra.com>
- - - - -
ba027220 by Claudio Cambra at 2026-04-15T15:00:51+08:00
macosx: Apply recents carousel on video table view delegate
Signed-off-by: Claudio Cambra <developer at claudiocambra.com>
- - - - -
3d6a1d3e by Claudio Cambra at 2026-04-15T15:00:51+08:00
macosx: Add carousel row type to VLCLibraryVideoFlattenedRow
Signed-off-by: Claudio Cambra <developer at claudiocambra.com>
- - - - -
04c0097d by Claudio Cambra at 2026-04-15T15:03:08+08:00
macosx: Support carousel rows in video data source
Signed-off-by: Claudio Cambra <developer at claudiocambra.com>
# Conflicts:
# modules/gui/macosx/library/video-library/VLCLibraryVideoDataSource.m
- - - - -
92f78a65 by Claudio Cambra at 2026-04-15T15:03:08+08:00
macosx: Update carousel offset when layout updates
Signed-off-by: Claudio Cambra <developer at claudiocambra.com>
- - - - -
64 changed files:
- + contrib/src/mysofa/0001-Only-link-with-MATH-library-if-it-s-found.patch
- + contrib/src/mysofa/0002-Only-link-with-ZLib-library-if-it-s-found.patch
- contrib/src/mysofa/SHA512SUMS
- contrib/src/mysofa/rules.mak
- + contrib/src/upnp/0001-Don-t-assume-strndup-to-be-missing-on-Windows.patch
- contrib/src/upnp/rules.mak
- include/vlc/libvlc_renderer_discoverer.h
- lib/media_list_path.h
- lib/media_track.c
- modules/access/dvdread.c
- modules/access/ftp.c
- modules/access/screen/mac.c
- modules/access/vcd/cdrom.c
- modules/audio_filter/libebur128.c
- modules/audio_filter/meson.build
- modules/audio_output/apple/avaudiosession_common.m
- modules/audio_output/apple/avsamplebuffer.m
- modules/audio_output/mmdevice.c
- modules/codec/omxil/mediacodec.c
- modules/codec/uleaddvaudio.c
- modules/demux/avi/libavi.c
- modules/demux/image.c
- modules/demux/mp4/fragments.c
- modules/demux/mp4/libmp4.c
- modules/demux/mpeg/ps.c
- modules/demux/mpeg/ts.c
- modules/demux/mpeg/ts_hotfixes.c
- modules/gui/macosx/Makefile.am
- modules/gui/macosx/library/VLCLibraryController.m
- + modules/gui/macosx/library/VLCLibrarySectionedTableViewDataSource.h
- modules/gui/macosx/library/VLCLibrarySegment.h
- modules/gui/macosx/library/VLCLibrarySegment.m
- modules/gui/macosx/library/VLCLibraryWindowNavigationSidebarViewController.m
- modules/gui/macosx/library/VLCLibraryWindowPlayQueueSidebarViewController.m
- modules/gui/macosx/library/VLCLibraryWindowSidebarRootViewController.m
- modules/gui/macosx/library/audio-library/VLCLibraryAudioGroupTableHeaderView.h
- modules/gui/macosx/library/audio-library/VLCLibraryAudioGroupTableHeaderView.m
- modules/gui/macosx/library/audio-library/VLCLibraryAudioViewController.m
- modules/gui/macosx/library/favorites-library/VLCLibraryFavoritesViewController.m
- modules/gui/macosx/library/groups-library/VLCLibraryGroupsViewController.m
- modules/gui/macosx/library/home-library/VLCLibraryHomeViewBaseCarouselContainerView.m
- modules/gui/macosx/library/playlist-library/VLCLibraryPlaylistViewController.m
- modules/gui/macosx/library/video-library/VLCLibraryVideoDataSource.h
- modules/gui/macosx/library/video-library/VLCLibraryVideoDataSource.m
- modules/gui/macosx/library/video-library/VLCLibraryVideoTableViewDelegate.h
- modules/gui/macosx/library/video-library/VLCLibraryVideoTableViewDelegate.m
- modules/gui/macosx/library/video-library/VLCLibraryVideoViewController.h
- modules/gui/macosx/library/video-library/VLCLibraryVideoViewController.m
- modules/gui/macosx/menus/VLCMainMenu.m
- modules/gui/macosx/playqueue/VLCPlayerController.h
- modules/gui/macosx/playqueue/VLCPlayerController.m
- modules/gui/macosx/views/VLCStatusNotifierView.m
- modules/gui/macosx/windows/extensions/VLCExtensionsDialogProvider.m
- modules/gui/skins2/meson.build
- modules/packetizer/vc1.c
- modules/services_discovery/avahi.c
- modules/stream_out/chromecast/cast.cpp
- modules/stream_out/dlna/dlna.cpp
- modules/video_filter/dither.c
- modules/video_output/opengl/interop_dxva2.c
- modules/video_output/vdummy.c
- modules/video_output/win32/direct3d9.c
- share/lua/http/index.html
- src/misc/epg.c
The diff was not included because it is too large.
View it on GitLab: https://code.videolan.org/videolan/vlc/-/compare/fcf65cef6d7e5b8c9ac211302c66c6b96c8251cd...92f78a65e969e4590199b557acfe0bcd8cd9b4fd
--
View it on GitLab: https://code.videolan.org/videolan/vlc/-/compare/fcf65cef6d7e5b8c9ac211302c66c6b96c8251cd...92f78a65e969e4590199b557acfe0bcd8cd9b4fd
You're receiving this email because of your account on code.videolan.org.
More information about the vlc-commits
mailing list