Implemented software video decoding and special key combos

This commit is contained in:
Cameron Gutman
2018-07-07 21:52:20 -07:00
parent 02f4f193a9
commit 826fe4cd03
5 changed files with 324 additions and 23 deletions
+10 -2
View File
@@ -66,8 +66,16 @@ GridView {
anchors.fill: parent
onClicked: {
// TODO: Check if a different game is running
var session = appModel.createSessionForApp(index);
session.exec();
var session = appModel.createSessionForApp(index)
// Don't poll while the stream is running
ComputerManager.stopPollingAsync()
// Run the streaming session to completion
session.exec()
// Start polling again
ComputerManager.startPolling()
}
}
}