[vlc-commits] [Git][videolan/vlc][master] qml: make blur effect live at initialization in `Player`
Steve Lhomme (@robUx4)
gitlab at videolan.org
Thu Jul 16 16:12:14 UTC 2026
Steve Lhomme pushed to branch master at VideoLAN / VLC
Commits:
a4260c0d by Fatih Uzunoglu at 2026-07-16T15:45:49+00:00
qml: make blur effect live at initialization in `Player`
This fixes the blur not being initialized properly at
initialization in some edge cases, such as when the source
texture and its mip maps become ready too quickly.
- - - - -
1 changed file:
- modules/gui/qt/player/qml/Player.qml
Changes:
=====================================
modules/gui/qt/player/qml/Player.qml
=====================================
@@ -379,7 +379,10 @@ FocusScope {
mode: Widgets.DualKawaseBlur.Mode.SixPass
radius: 2
- live: false
+ // We disable live when everything settles through `liveTimer`,
+ // which is important to release intermediate layers with static
+ // source:
+ live: true
//destination aspect ratio
readonly property real dar: parent.width / parent.height
@@ -428,6 +431,9 @@ FocusScope {
// really bad idea. So instead, we turn on live and after some time passes turn it off again.
widthChanged.connect(liveTimer, liveTimer.transientTurnOnLive)
heightChanged.connect(liveTimer, liveTimer.transientTurnOnLive)
+
+ // In case texture provider observer never signals texture change:
+ liveTimer.transientTurnOnLive()
}
Timer {
View it on GitLab: https://code.videolan.org/videolan/vlc/-/commit/a4260c0dcfd61288552e81f36a10ade8ce5cff5f
--
View it on GitLab: https://code.videolan.org/videolan/vlc/-/commit/a4260c0dcfd61288552e81f36a10ade8ce5cff5f
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