Alaric Senat
0769dfadc0
wasm: emjsfile: fix out of bound size read
...
The condition was flawed. This is supposed to check that the read size
does not go out of bound.
2024-03-11 20:45:01 +00:00
Claudio Cambra
652fa4e5a1
macosx: Check if represented list of albums is valid before creating supplementary detail view in audio group data source
...
Signed-off-by: Claudio Cambra <developer@claudiocambra.com>
2024-03-11 18:11:20 +00:00
Claudio Cambra
b231072963
macosx: Enforce set outlineview in outlineviewdelegate selectionIndexesForProposedSelection
...
Signed-off-by: Claudio Cambra <developer@claudiocambra.com>
2024-03-11 17:53:06 +00:00
Claudio Cambra
99a8177270
macosx: Expand music sidebar entry when it is clicked
...
Signed-off-by: Claudio Cambra <developer@claudiocambra.com>
2024-03-11 17:53:06 +00:00
Claudio Cambra
57e236ad53
macosx: Select artists view when clicking on music sidebar entry, making music sidebar entry unselectable
...
Signed-off-by: Claudio Cambra <developer@claudiocambra.com>
2024-03-11 17:53:06 +00:00
Alexandre Janniaux
3ba89ea810
test/libvlc: meta: skip test if taglib is absent
...
The test depends on the Taglib module currently, in particular to supply
the artist name to the input item.
2024-03-10 11:45:10 +00:00
Alexandre Janniaux
dd92a11c04
test: meson.build: add player monotonic test
...
The test exists since 5e9747b6db
.
2024-03-10 11:45:10 +00:00
Alexandre Janniaux
ff13274d2f
test: meson.build: add clock test
...
The test exists since 08950258ef
.
2024-03-10 11:45:10 +00:00
Thomas Guillem
a4b5c96472
cvpx: add missing parameter types
2024-03-10 07:23:45 +00:00
Steve Lhomme
ef86d7bdd7
vout_subpicture: use a multiplication to explicit where the constant is coming from
...
255 is the max value for subpic->i_alpha and region->i_alpha.
2024-03-10 06:50:39 +00:00
Steve Lhomme
e079b924bd
vlc_subpictures: remove unused vlc_render_subpicture::i_alpha
...
The rendered regions have an each their own alpha.
2024-03-10 06:50:39 +00:00
Steve Lhomme
571b525627
vout: don't multiply the region alpha by the subpicture alpha
...
It's already done in the core during SpuRenderRegion().
2024-03-10 06:50:39 +00:00
Steve Lhomme
55696fa2ff
video_text: keep all position flags in the text_flags
...
sys->position is already filtered in vout_OSDText() with SUBPICTURE_ALIGN_MASK.
2024-03-10 06:50:39 +00:00
Steve Lhomme
5bbfe2e5b1
subtitles: assert when the destination doesn't have a SAR during region gathering
...
This should never happen. The core must fill it.
2024-03-10 06:50:39 +00:00
Steve Lhomme
23609f0aec
vout_subpictures: assert that both original dimensions are set
...
This should never happen.
2024-03-10 06:50:39 +00:00
Steve Lhomme
4f0d7e7731
subpicture: initialize position to INT_MAX
...
So it matches the assert during the final positioning of region when rendering. These values
must be set on the output of the SPU updater.
If it doesn't do it, or didn't initialized the regions properly, the subpicture source is doing it wrong.
2024-03-10 06:50:39 +00:00
Steve Lhomme
3d136a03df
demux/mkv: avoid dynamic_cast to check EOF
...
We know we have a VLC stream, we can use its special methods.
2024-03-10 06:18:24 +00:00
Steve Lhomme
13745ebf8c
demux/mkv: use a specialized EbmlStream that only uses VLC streams
2024-03-10 06:18:24 +00:00
Steve Lhomme
dba5d5969a
demux/mkv: use a better name for unused elements
...
Unless it's an EbmlDummy the element is not unknown if it has a known class.
Rather than displaying a decorated C++ class name, show the actual element name in libmatroska.
No need for Runtime Type Indentification (RTTI) for that.
The EBML_NAME() has been around since at least libebml 0.8: cd378f23ff
2024-03-10 05:51:35 +00:00
Thomas Guillem
7b631e0954
player: remove the media_provider
...
Move the media_provider.get_next callback to
vlc_player_cbs.request_next_media.
This callback does not need a special handling since it doesn't
wait for a result anymore.
2024-03-09 21:20:40 +00:00
Thomas Guillem
b504ce7193
test: player: check SetNextMedia() can be overridden
2024-03-09 21:20:40 +00:00
Thomas Guillem
87d240f7e0
test: player: rework set_next_mock_media
...
Call vlc_player_SetNextMedia() instead of vlc_player_SetCurrentMedia()
for the first media (then medias are added in a vector).
That way, the on_current_media_changed event won't be called directly,
allowing the user to finish to fill the vector or next medias.
2024-03-09 21:20:40 +00:00
Thomas Guillem
0b221c2efc
test: player: add player_create_mock_media
2024-03-09 21:20:40 +00:00
Thomas Guillem
382e4dad90
player: unexport vlc_player_InvalidateNextMedia
2024-03-09 21:20:40 +00:00
Thomas Guillem
dbf20a177a
playlist: rework next_media handling
...
Update the next_media directly instead of invalidating it.
2024-03-09 21:20:40 +00:00
Thomas Guillem
0a84d74cf0
player: document SetCurrentMedia() and SetNextMedia()
2024-03-09 21:20:40 +00:00
Thomas Guillem
2311c60a85
player: also open the next media from Start
2024-03-09 21:20:40 +00:00
Thomas Guillem
67d14d9218
player: rework media_provider.get_next handling
...
The next media can now be set anytime while the current media is
playing, via vlc_player_SetNextMedia().
Related to #28524
2024-03-09 21:20:40 +00:00
Steve Lhomme
e896a2fc55
contrib: taglib: get utfcpp as a release tarball
...
It can be cached in our contrib/tarballs folder.
The hash corresponded to utfcpp 3.2.4.
2024-03-09 20:43:53 +00:00
Steve Lhomme
2d48800c8a
contrib: taglib: use github source for tarballs
...
It probably has more uptime than taglib.org.
The hash is unchanged.
2024-03-09 20:43:53 +00:00
Fatih Uzunoglu
1d9f62a8d7
qml: show delegate border at all times in toolbar editor
2024-03-09 20:02:07 +00:00
Fatih Uzunoglu
c774fdbae9
qt: extrapolate rounded rectangle path in QSGRoundedRectangularImageNode
...
This should correct some artifacts seen with small
nodes which caused by having too few vertices
to represent a rounded rectangle.
2024-03-09 15:42:28 +00:00
Leon Vitanos
89b6c0a58b
qml: disable end fade on recentVideos when on tableView
2024-03-09 13:48:11 +00:00
Leon Vitanos
cb8c7bca05
qml: Adjust layout paddings and spacings for denser, modern UI
2024-03-09 13:48:11 +00:00
Leon Vitanos
d52105c955
qml: Standardize spacing between vertically-aligned grid and list layouts
...
for this, we also change the height of recentVideos to it's contentHeight + bottomPadding
2024-03-09 13:48:11 +00:00
Leon Vitanos
603722cbac
qml: only use ListView.InlineHeader when at 'Video' homepage with recentVideos visible
2024-03-09 13:48:11 +00:00
Leon Vitanos
35c6803f5e
qml: match playlistview topPadding with layout's padding
2024-03-09 13:48:11 +00:00
Leon Vitanos
c70678b9c3
qml: delete BrowseDeviceHeader and use ViewHeader instead
2024-03-09 13:48:11 +00:00
Leon Vitanos
d5d2a1f1ba
qml: add title header to all views
2024-03-09 13:48:11 +00:00
Leon Vitanos
e7132c1be4
qml: use ViewHeader for layouts header, and fix inconsistent padding values
...
for padding consistency, code readability and avoid code duplication
2024-03-09 13:48:11 +00:00
Leon Vitanos
4c31578fef
qml: add ViewHeader component
2024-03-09 13:48:11 +00:00
Leon Vitanos
b4b34b8e31
qml: rename contentMargin to contentLeftMargin, and also use contentRightMargin
2024-03-09 13:48:11 +00:00
Fatih Uzunoglu
27ccc2a213
qml: provide borders for each dnd view in toolbar editor
2024-03-09 13:19:59 +00:00
Steve Lhomme
d203fab008
contrib: only build the spirv-tools on targets building Qt
...
Just like qtdeclarative and some other contribs.
Other targets don't need it for now.
2024-03-09 11:51:31 +00:00
Steve Lhomme
10f0c09e84
contrib: disable some code and errors in spirv-tools
2024-03-09 11:51:31 +00:00
Steve Lhomme
55e410ce59
contrib: extract SPIRV-Headers-SDK once spirv-tools is extracted in its right place
2024-03-09 11:51:31 +00:00
Alexandre Janniaux
69f935aa8e
contrib: vulkan-headers: detect current version
...
Automatically enable the headers, but detect the currently available
header version with cppcheck since the pkgconfig file will actually
detect the version of the loader.
cppcheck cannot understand the full header version, which was also not
available before 1.3 anyway. Moreover, the major and minor versions are
not defined directly, but instead either through cast or not at all
(before 1.3), so we use the header guards defines and the
VK_HEADER_VERSION for the last patch revision number, which directly
matches the actual package revision.
v1.3.239 is the version provided by the vulkan-loader package on debian
bookworm, and the main constraint we have is the presence of the
vulkan/vulkan_beta.h header which should be present and the presence or
absence of the old/new video_decode extension that was promoted. 238 is
the first revision removing the previous video_decode extension and
adding the new one.
Tested on linux with headers present and android with system header
being obsolete.
2024-03-09 07:19:06 +00:00
Alexandre Janniaux
f6d0107d0f
libplacebo: add dependency to vulkan-headers also
...
libplacebo depends directly on vulkan-headers, not transitionally.
The constraint was written like this to not always install the headers
if some were provided by the system.
2024-03-09 07:19:06 +00:00
Steve Lhomme
ed13418479
contrib: ignore folders created when installing native tools in BUILDPREFIX
2024-03-09 06:35:55 +00:00
Steve Lhomme
56ff9ca374
contrib: ffmpeg: update to 6.1.1
...
This is the latest in the 6.x branch.
We already build with 6.1 in the Debian unstable Docker.
2024-03-08 07:45:02 +00:00