Jean-Baptiste Kempf pushed to branch master at VideoLAN / VLC
Commits:
efcc37c4 by Fatih Uzunoglu at 2025-12-07T11:32:19+01:00
qml: do not adjust fill mode depending on graphics backend in `AudioGridItem`
`ImageExt` uses a clip node if backend is not rhi, which is not
a concern for non-rhi (software or openvg) backend.
Batch rendering is only a thing with the rhi backend, and non-
rhi mode is already not meant for having high performance.
This fixes preserve aspect crop not used with software mode in
audio grid delegate.
- - - - -
1 changed file:
- modules/gui/qt/medialibrary/qml/AudioGridItem.qml
Changes:
=====================================
modules/gui/qt/medialibrary/qml/AudioGridItem.qml
=====================================
@@ -30,8 +30,7 @@ Widgets.GridItem {
image: model.cover || ""
fallbackImage: VLCStyle.noArtAlbumCover
- fillMode: (GraphicsInfo.shaderType === GraphicsInfo.RhiShader) ?
Image.PreserveAspectCrop
- :
Image.PreserveAspectFit
+ fillMode: Image.PreserveAspectCrop
title: model.title || qsTr("Unknown title")
subtitle: model.main_artist || qsTr("Unknown artist")
View it on GitLab:
https://code.videolan.org/videolan/vlc/-/commit/efcc37c42452592611820a5d60a0b9413b556376
--
View it on GitLab:
https://code.videolan.org/videolan/vlc/-/commit/efcc37c42452592611820a5d60a0b9413b556376
You're receiving this email because of your account on code.videolan.org.
VideoLAN code repository instance_______________________________________________
vlc-commits mailing list
[email protected]
https://mailman.videolan.org/listinfo/vlc-commits