diff options
Diffstat (limited to 'resources/qml')
-rw-r--r-- | resources/qml/TimelineView.qml | 2 | ||||
-rw-r--r-- | resources/qml/voip/ScreenShare.qml | 2 | ||||
-rw-r--r-- | resources/qml/voip/VideoCallD3D11.qml | 9 |
3 files changed, 11 insertions, 2 deletions
diff --git a/resources/qml/TimelineView.qml b/resources/qml/TimelineView.qml index 085ca073..c29eb537 100644 --- a/resources/qml/TimelineView.qml +++ b/resources/qml/TimelineView.qml @@ -119,7 +119,7 @@ Item { searchString: topBar.searchString } Loader { - source: CallManager.isOnCall && CallManager.callType != Voip.VOICE ? "voip/VideoCall.qml" : "" + source: CallManager.isOnCall && CallManager.callType != Voip.VOICE ? (Qt.platform.os != "windows" ? "voip/VideoCall.qml" : "voip/VideoCallD3D11.qml") : "" onLoaded: TimelineManager.setVideoCallItem() } diff --git a/resources/qml/voip/ScreenShare.qml b/resources/qml/voip/ScreenShare.qml index d3661933..3c3b43ce 100644 --- a/resources/qml/voip/ScreenShare.qml +++ b/resources/qml/voip/ScreenShare.qml @@ -63,7 +63,7 @@ Popup { } ComboBox { - visible: CallManager.screenShareType == Voip.X11 + visible: CallManager.screenShareType == Voip.X11 || CallManager.screenShareType == Voip.D3D11 id: windowCombo Layout.fillWidth: true diff --git a/resources/qml/voip/VideoCallD3D11.qml b/resources/qml/voip/VideoCallD3D11.qml new file mode 100644 index 00000000..b91722a8 --- /dev/null +++ b/resources/qml/voip/VideoCallD3D11.qml @@ -0,0 +1,9 @@ +// SPDX-FileCopyrightText: Nheko Contributors +// +// SPDX-License-Identifier: GPL-3.0-or-later + +import org.freedesktop.gstreamer.Qt6D3D11VideoItem 1.0 + +GstD3D11Qt6VideoItem { + objectName: "videoCallItem" +} |