Marvin Scholz
259d873b41
access: vnc: add missing include
3 years ago
François Cartegnie
8935caa90a
packetizer: h264_nal: check some values
4 weeks ago
François Cartegnie
8b0f847348
packetizer: hevc_nal: check for EOS within loop
refs #29626
4 weeks ago
François Cartegnie
31ecb3b565
packetizer: hevc_nal: check some values
4 weeks ago
Alexandre Janniaux
8b55b111ce
meson: codec: fix extra lib prefix
The meson target was named 'libvlc_vtutils' but meson automatically
adds a 'lib' prefix, producing 'liblibvlc_vtutils.a'. Rename the target
to 'vlc_vtutils' so the output match the intended name.
4 weeks ago
Alexandre Janniaux
e2b3abfe10
meson: opengl: fix extra lib prefix
The meson target was named 'libvlc_opengles' but meson automatically
adds a 'lib' prefix, producing 'liblibvlc_opengles.a'. Rename the
target to 'vlc_opengles' so the output match the intended name.
4 weeks ago
Mattias Hansson
d4286710de
chromecast: Include music metadata
Music related metadata like album, albumartist, tracknumber and
discnumber is currently not added to media playback messages for
Chromecast.
This patch will add the entries if they're specified in the media
metadata.
1 month ago
Claudio Cambra
6d7920e148
macosx: Fix VLCLibraryMasterDetailViewTableViewDataSource conformance in VLCLibraryFavoritesDataSource
Signed-off-by: Claudio Cambra <developer@claudiocambra.com>
4 weeks ago
unichronic
7acd6b4d26
demux: add check to verify sequence table size to prevent oom
1 month ago
Claudio Cambra
83addb8a62
macosx: Ensure insets give pre-tahoe play queue buttons room to breathe
Signed-off-by: Claudio Cambra <developer@claudiocambra.com>
4 weeks ago
Claudio Cambra
abde5723d2
macosx: Fix button stack in play queue sidebar for macOS <26
Signed-off-by: Claudio Cambra <developer@claudiocambra.com>
4 weeks ago
François Cartegnie
c935939c46
packetizer: av1: fix potential leak
refs #29642
4 weeks ago
François Cartegnie
f12988ae40
packetizer: hxxx: fix invalid deref
refs #29610
regression by 36e3056262
1 month ago
Alexandre Janniaux
5b3b3c6c61
win32: fix DllMain definition from header
On the Windows SDK, the definition of DllMain is hardcoded to using
unsigned long as reason parameter.
MinGW has two definitions and the definition of DllMain is different in
MinGW given `_WINDOWS_` is defined or not, leading to a different
prototype between VLC and process.h currently (not taking the `_WINDOWS_`
path):
../subprojects/vlc/src/win32/thread.c:688:15: error: conflicting types for 'DllMain'; have 'int(void *, long unsigned int, void *)'
688 | int __stdcall DllMain (void *hinstDll, unsigned long fdwReason, void *lpvReserved)
| ^~~~~~~
In file included from ../subprojects/vlc/src/win32/thread.c:33:
/usr/share/mingw-w64/include/process.h:141:17: note: previous declaration of 'DllMain' with type 'int(void *, unsigned int, void *)'
141 | int __stdcall DllMain(void *_HDllHandle,unsigned _Reason,void *_Reserved);
This was fixed VLC upstream and for newer mingw64 revision with the
[MR !4300 ] but even though the Windows SDK uses unsigned long, the
documentation[^1] uses DWORD which matches how mingw64 writes the
prototype. By doing the change, we can support older Mingw SDKs (using
the proper definition path) and yet-to-be-released SDKs (where the
definition would use something else than unsigned long).
[MR !4300 ]: https://code.videolan.org/videolan/vlc/-/merge_requests/4300
[^1]: https://learn.microsoft.com/en-us/windows/win32/dlls/dllmain
So as to use DWORD, we must include <windows.h> first as noted by commit
9ca790a641 that we're essentially
partially reverting here.
After this change, this would work regardless of the SDK vendor or the
SDK version.
1 month ago
Serhii Bykov
77d6c93e29
macosx: replace deprecated NSRightMouse{Down,Up} with NSEventType variants
1 month ago
Serhii Bykov
434c3fc69f
macosx: Fix collection view crashes from inconsistent data in VLCLibraryAudioGroupDataSource
1 month ago
Ojus Chugh
97cfb21b08
qt: fix middle mouse wheel rewind issue
2 months ago
Claudio Cambra
97f077b644
macosx: Fix table header having the play/queue buttons disabled on startup
Signed-off-by: Claudio Cambra <developer@claudiocambra.com>
1 month ago
Claudio Cambra
b8148a855d
macosx: Remove incorrect whitespaces in audio group data source
Signed-off-by: Claudio Cambra <developer@claudiocambra.com>
1 month ago
Claudio Cambra
3cfbeb03e1
macosx: Simplify setRepresentedAudioGroup in audio group data source, leverage property
Signed-off-by: Claudio Cambra <developer@claudiocambra.com>
1 month ago
Thomas Guillem
0a4b3c6002
vaapi: dec-dev: reject NVDEC driver
OpenGL (and Vulkan) interop don't work with nvidia-vaapi-driver.
1 month ago
Claudio Cambra
4f16e9241e
macosx: Make representedItem parameter in group header delegate nullable
Signed-off-by: Claudio Cambra <developer@claudiocambra.com>
1 month ago
Claudio Cambra
2d978211bb
macosx: Correctly implement table view check in master detail view table view delegate
Signed-off-by: Claudio Cambra <developer@claudiocambra.com>
1 month ago
Claudio Cambra
57979cb89b
macosx: Use correct table views in abstract master/detail view classes
Signed-off-by: Claudio Cambra <developer@claudiocambra.com>
1 month ago
Claudio Cambra
6e18b0adf4
macosx: Add support for header in groups table view
Signed-off-by: Claudio Cambra <developer@claudiocambra.com>
1 month ago
Claudio Cambra
be21afbde3
macosx: Implement header view support in playlist view controller
Signed-off-by: Claudio Cambra <developer@claudiocambra.com>
1 month ago
Claudio Cambra
7a44513632
macosx: Implement updateHeaderForMasterSelection in playlist data source
Signed-off-by: Claudio Cambra <developer@claudiocambra.com>
1 month ago
Claudio Cambra
8cb0ed9b9e
macosx: Align update header based on selection method names
Signed-off-by: Claudio Cambra <developer@claudiocambra.com>
1 month ago
Claudio Cambra
6de215ed88
macosx: Move header delegate definition into master detail view data source protocol
Signed-off-by: Claudio Cambra <developer@claudiocambra.com>
1 month ago
Claudio Cambra
c830598e75
macosx: Leverage group header delegation in table view delegate within favorites view controller
Signed-off-by: Claudio Cambra <developer@claudiocambra.com>
1 month ago
Claudio Cambra
712be53585
macosx: Implement updateHeaderForTableView in abstract grouping data source
Signed-off-by: Claudio Cambra <developer@claudiocambra.com>
1 month ago
Claudio Cambra
931b61e4e2
macosx: Make master/detail view table view delegate VLCLibraryGroupHeaderDelegate conformant
Signed-off-by: Claudio Cambra <developer@claudiocambra.com>
1 month ago
Claudio Cambra
795f45a926
macosx: Remove unused selectedRow in master detail view table view delegate
Signed-off-by: Claudio Cambra <developer@claudiocambra.com>
1 month ago
Claudio Cambra
5c744ed591
macosx: Hide float-on-top indicator when fading out main video view controls
Signed-off-by: Claudio Cambra <developer@claudiocambra.com>
1 month ago
Claudio Cambra
c9715c5dd9
macosx: Preallocate matchingTitles size in library window
Signed-off-by: Claudio Cambra <developer@claudiocambra.com>
4 months ago
Claudio Cambra
f62ebfa4fb
macosx: Do not double-create array in toolbar delegate
Signed-off-by: Claudio Cambra <developer@claudiocambra.com>
4 months ago
Claudio Cambra
ee907c1f03
macosx: Avoid double iteration in toolbar delegate by using/reusing index
Signed-off-by: Claudio Cambra <developer@claudiocambra.com>
4 months ago
Claudio Cambra
3ea2ae1328
macosx: Avoid creating a subviews array copy in library window
Signed-off-by: Claudio Cambra <developer@claudiocambra.com>
4 months ago
Claudio Cambra
f4a764b1d8
macosx: Avoid creating copies where possible during audio group item handling in library model
Signed-off-by: Claudio Cambra <developer@claudiocambra.com>
4 months ago
Claudio Cambra
e3e36e5677
macosx: Avoid creating copies where possible during actions in librarymodel
Signed-off-by: Claudio Cambra <developer@claudiocambra.com>
# Conflicts:
# modules/gui/macosx/library/favorites-library/VLCLibraryFavoritesDataSource.m
4 months ago
Claudio Cambra
056ab09d52
macosx: Avoid creating unneeded copies of containers in home view stack view controller
Signed-off-by: Claudio Cambra <developer@claudiocambra.com>
4 months ago
Claudio Cambra
052af75c4b
macosx: Avoid creating unneeded copies of playlists
Signed-off-by: Claudio Cambra <developer@claudiocambra.com>
4 months ago
Claudio Cambra
84a9d8431f
macosx: Avoid copy-write-copy pattern in video container view data source
Signed-off-by: Claudio Cambra <developer@claudiocambra.com>
4 months ago
Claudio Cambra
0edb6284a5
macosx: Avoid creating unneeded copies of generated animation steps in flow layout
Signed-off-by: Claudio Cambra <developer@claudiocambra.com>
4 months ago
Claudio Cambra
be73eb7469
macosx: Leverage mutable copy to acquire mutable path items in VLCInputNodePathControl
Signed-off-by: Claudio Cambra <developer@claudiocambra.com>
4 months ago
Claudio Cambra
3b5d642c1c
macosx: Avoid copy-write-copy pattern in video data source
Signed-off-by: Claudio Cambra <developer@claudiocambra.com>
4 months ago
Claudio Cambra
fdcb96e200
macosx: Avoid copy-write-copy pattern in audio data source
Signed-off-by: Claudio Cambra <developer@claudiocambra.com>
4 months ago
Thomas Guillem
910a544aa6
nvdec: gl: use chroma desc to calculate WidthInBytes
1 month ago
Thomas Guillem
770a6e1c81
nvdec: refactor GPU copy by using chroma description
1 month ago
Zyad M. Ayad
0bd45a13cc
qt: Add radio icon to Radio service discovery module
1 month ago