[vlc-commits] [Git][videolan/vlc][master] 3 commits: qml/SkipBackButton: Check the player is seekable
Hugo Beauzée-Luyssen (@chouquette)
gitlab at videolan.org
Thu Feb 17 10:59:10 UTC 2022
Hugo Beauzée-Luyssen pushed to branch master at VideoLAN / VLC
Commits:
817ae084 by Benjamin Arnaud at 2022-02-17T10:41:25+00:00
qml/SkipBackButton: Check the player is seekable
- - - - -
0106b7cf by Benjamin Arnaud at 2022-02-17T10:41:25+00:00
qml/SkipForwardButton: Check the player is seekable
- - - - -
2abaa433 by Benjamin Arnaud at 2022-02-17T10:41:25+00:00
qml/controlbarcontrols: Check ratechangable on Button(s)
- - - - -
5 changed files:
- modules/gui/qt/player/qml/controlbarcontrols/FasterButton.qml
- modules/gui/qt/player/qml/controlbarcontrols/FrameButton.qml
- modules/gui/qt/player/qml/controlbarcontrols/SkipBackButton.qml
- modules/gui/qt/player/qml/controlbarcontrols/SkipForwardButton.qml
- modules/gui/qt/player/qml/controlbarcontrols/SlowerButton.qml
Changes:
=====================================
modules/gui/qt/player/qml/controlbarcontrols/FasterButton.qml
=====================================
@@ -26,6 +26,9 @@ import "qrc:///style/"
Widgets.IconControlButton {
id: fasterBtn
size: VLCStyle.icon_medium
+
+ enabled: Player.ratechangable
+
iconText: VLCIcons.faster
onClicked: Player.faster()
text: I18n.qtr("Faster")
=====================================
modules/gui/qt/player/qml/controlbarcontrols/FrameButton.qml
=====================================
@@ -26,7 +26,9 @@ import "qrc:///style/"
Widgets.IconControlButton {
id: frameBtn
size: VLCStyle.icon_medium
- enabled: Player.isPlaying
+
+ enabled: Player.ratechangable
+
iconText: VLCIcons.frame_by_frame
onClicked: Player.frameNext()
text: I18n.qtr("Next frame")
=====================================
modules/gui/qt/player/qml/controlbarcontrols/SkipBackButton.qml
=====================================
@@ -26,6 +26,9 @@ import "qrc:///style/"
Widgets.IconControlButton {
id: stepBackBtn
size: VLCStyle.icon_medium
+
+ enabled: Player.seekable
+
iconText: VLCIcons.skip_back
onClicked: Player.jumpBwd()
text: I18n.qtr("Step back")
=====================================
modules/gui/qt/player/qml/controlbarcontrols/SkipForwardButton.qml
=====================================
@@ -26,6 +26,9 @@ import "qrc:///style/"
Widgets.IconControlButton {
id: stepfwdBtn
size: VLCStyle.icon_medium
+
+ enabled: Player.seekable
+
iconText: VLCIcons.skip_for
onClicked: Player.jumpFwd()
text: I18n.qtr("Step forward")
=====================================
modules/gui/qt/player/qml/controlbarcontrols/SlowerButton.qml
=====================================
@@ -26,6 +26,9 @@ import "qrc:///style/"
Widgets.IconControlButton {
id: slowerBtn
size: VLCStyle.icon_medium
+
+ enabled: Player.ratechangable
+
iconText: VLCIcons.slower
onClicked: Player.slower()
text: I18n.qtr("Slower")
View it on GitLab: https://code.videolan.org/videolan/vlc/-/compare/e308b8c851490c672883813c7c0004dee95fc2fc...2abaa43380575af99e22a9ffcbeaf8815732f381
--
View it on GitLab: https://code.videolan.org/videolan/vlc/-/compare/e308b8c851490c672883813c7c0004dee95fc2fc...2abaa43380575af99e22a9ffcbeaf8815732f381
You're receiving this email because of your account on code.videolan.org.
VideoLAN code repository instance
More information about the vlc-commits
mailing list