[vlc-commits] [Git][videolan/vlc][master] qt: fix buffer animation showing without media loaded

Felix Paul Kühne (@fkuehne) gitlab at videolan.org
Fri Nov 6 18:15:38 UTC 2026



Felix Paul Kühne pushed to branch master at VideoLAN / VLC


Commits:
da8cf042 by Nitin Kumar Yadav at 2026-11-06T18:51:27+01:00
qt: fix buffer animation showing without media loaded

- - - - -


1 changed file:

- modules/gui/qt/player/qml/SliderBar.qml


Changes:

=====================================
modules/gui/qt/player/qml/SliderBar.qml
=====================================
@@ -506,7 +506,7 @@ T.ProgressBar {
                 },
                 State {
                     name: "buffering not started"
-                    when: control.visible && Player.buffering === 0
+                    when: control.visible && Player.buffering === 0 && Player.isStarted
                     PropertyChanges {
                         target: bufferRect
                         width: bufferAnimWidth
@@ -528,7 +528,7 @@ T.ProgressBar {
                 },
                 State {
                     name: "playing from buffer"
-                    when: control.visible && !bufferRect.display
+                    when: control.visible && bufferRect.buffering && !bufferRect.display
                     PropertyChanges {
                         target: bufferRect
                         width: Player.buffering * parent.width



View it on GitLab: https://code.videolan.org/videolan/vlc/-/commit/da8cf042aad87cfd44a553d448180adf4e42c5ce

-- 
View it on GitLab: https://code.videolan.org/videolan/vlc/-/commit/da8cf042aad87cfd44a553d448180adf4e42c5ce
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