aboutsummaryrefslogtreecommitdiff
path: root/src/utils.c
diff options
context:
space:
mode:
authordec05eba <dec05eba@protonmail.com>2024-08-31 00:26:22 +0200
committerdec05eba <dec05eba@protonmail.com>2024-08-31 00:26:22 +0200
commit1d7c1e7d14c7d92cc6c5a0f824b7eb8a9b61688f (patch)
treef43bb5a147956e98940a0ade4966e4d96e11da89 /src/utils.c
parentc99b986149ea2cb0d01c7586a976852e8e32677c (diff)
Enable recording on steam deck with warning, use vbr on steam deck and add -bm bitrate mode option for qp or vbr
Diffstat (limited to 'src/utils.c')
-rw-r--r--src/utils.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/utils.c b/src/utils.c
index 84c8707..20b640c 100644
--- a/src/utils.c
+++ b/src/utils.c
@@ -377,7 +377,7 @@ bool gl_get_gpu_info(gsr_egl *egl, gsr_gpu_info *info) {
const unsigned char *gl_renderer = egl->glGetString(GL_RENDERER);
info->gpu_version = 0;
- info->is_known_broken_driver = false;
+ info->is_steam_deck = false;
if(!gl_vendor) {
fprintf(stderr, "gsr error: failed to get gpu vendor\n");
@@ -410,7 +410,7 @@ bool gl_get_gpu_info(gsr_egl *egl, gsr_gpu_info *info) {
if(gl_renderer) {
if(info->vendor == GSR_GPU_VENDOR_NVIDIA)
sscanf((const char*)gl_renderer, "%*s %*s %*s %d", &info->gpu_version);
- info->is_known_broken_driver = strstr((const char*)gl_renderer, "vangogh") != NULL;
+ info->is_steam_deck = strstr((const char*)gl_renderer, "vangogh") != NULL;
}
end: