[vlc-commits] [Git][videolan/vlc][master] qml: hide PIPPlayer if media doesn't have video
Hugo Beauzée-Luyssen (@chouquette)
gitlab at videolan.org
Sun Aug 22 13:59:59 UTC 2021
Hugo Beauzée-Luyssen pushed to branch master at VideoLAN / VLC
Commits:
bd384d23 by Prince Gupta at 2021-08-22T13:24:53+00:00
qml: hide PIPPlayer if media doesn't have video
- - - - -
1 changed file:
- modules/gui/qt/maininterface/qml/MainDisplay.qml
Changes:
=====================================
modules/gui/qt/maininterface/qml/MainDisplay.qml
=====================================
@@ -380,8 +380,8 @@ FocusScope {
width: VLCStyle.dp(320, VLCStyle.scale)
height: VLCStyle.dp(180, VLCStyle.scale)
z: 2
- visible: !root._inhibitMiniPlayer && root._showMiniPlayer
- enabled: !root._inhibitMiniPlayer && root._showMiniPlayer
+ visible: !root._inhibitMiniPlayer && root._showMiniPlayer && mainInterface.hasEmbededVideo
+ enabled: !root._inhibitMiniPlayer && root._showMiniPlayer && mainInterface.hasEmbededVideo
dragXMin: 0
dragXMax: root.width - playerPip.width
View it on GitLab: https://code.videolan.org/videolan/vlc/-/commit/bd384d23347e184a2dbf31f00d92eced3a514670
--
View it on GitLab: https://code.videolan.org/videolan/vlc/-/commit/bd384d23347e184a2dbf31f00d92eced3a514670
You're receiving this email because of your account on code.videolan.org.
More information about the vlc-commits
mailing list