Fixed GPU preview requests happening regardless of settings
This commit is contained in:
parent
368f86c4a5
commit
5feba6ad26
1 changed files with 4 additions and 1 deletions
|
|
@ -259,7 +259,10 @@ export default {
|
||||||
|
|
||||||
previewRequest: function(state) {
|
previewRequest: function(state) {
|
||||||
// If requesting starting the stream, but this component is inactive, skip
|
// If requesting starting the stream, but this component is inactive, skip
|
||||||
if (this.$store.getters.ready == true) {
|
if (
|
||||||
|
this.$store.getters.ready == true &&
|
||||||
|
this.$store.state.globalSettings.autoGpuPreview == true
|
||||||
|
) {
|
||||||
var requestUri = null;
|
var requestUri = null;
|
||||||
// Create URI
|
// Create URI
|
||||||
if (state == true) {
|
if (state == true) {
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue