From c21b38bba107865b469aeb2dd53b3c00bbbdd431 Mon Sep 17 00:00:00 2001 From: dec05eba Date: Tue, 11 Apr 2023 00:52:35 +0200 Subject: Temporary disable monitor recording on amd/intel --- src/main.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/main.cpp') diff --git a/src/main.cpp b/src/main.cpp index f743a8e..170cb81 100644 --- a/src/main.cpp +++ b/src/main.cpp @@ -1794,7 +1794,7 @@ static GtkWidget* create_common_settings_page(GtkStack *stack, GtkApplication *a record_area_selection_menu = GTK_COMBO_BOX_TEXT(gtk_combo_box_text_new()); gtk_combo_box_text_append(record_area_selection_menu, "window", "Window"); gtk_combo_box_text_append(record_area_selection_menu, "focused", "Follow focused window"); - const bool allow_screen_capture = nvfbc_installed || gpu_inf.vendor != GPU_VENDOR_NVIDIA; + const bool allow_screen_capture = nvfbc_installed; if(allow_screen_capture) { if(gpu_inf.vendor == GPU_VENDOR_NVIDIA) gtk_combo_box_text_append(record_area_selection_menu, "screen", "All monitors"); @@ -2341,7 +2341,7 @@ static void load_config(const gpu_info &gpu_inf) { } if(config.main_config.record_area_option.empty()) { - const bool allow_screen_capture = nvfbc_installed || gpu_inf.vendor != GPU_VENDOR_NVIDIA; + const bool allow_screen_capture = nvfbc_installed; if(allow_screen_capture) config.main_config.record_area_option = "screen"; else -- cgit v1.2.3