Revert "Add high performance encoding option (for amd) in settings page. Requires gsr version >= 5.3.4"

This reverts commit 3060e3ee00.
This commit is contained in:
dec05eba
2025-03-30 22:30:47 +02:00
parent 3060e3ee00
commit c7080e5d99
9 changed files with 11 additions and 41 deletions

View File

@@ -60,7 +60,6 @@ namespace gsr {
std::string joystick_hotkeys_enable_option = "disable_hotkeys";
std::string tint_color;
ConfigHotkey show_hide_hotkey;
bool high_performance_encoding = false;
};
struct YoutubeStreamConfig {

View File

@@ -116,8 +116,6 @@ namespace gsr {
bool update_compositor_texture(const Monitor &monitor);
void force_window_on_top();
void add_common_gpu_screen_recorder_args(std::vector<const char*> &args, const RecordOptions &record_options, const std::vector<std::string> &audio_tracks, const std::string &video_bitrate, const char *region, const std::string &audio_devices_merged, char *region_str, int region_str_size, const RegionSelector &region_selector);
private:
using KeyBindingCallback = std::function<void()>;
struct KeyBinding {

View File

@@ -17,7 +17,6 @@ namespace gsr {
class Button;
class List;
class CustomRendererWidget;
class CheckBox;
enum ConfigureHotkeyType {
NONE,
@@ -64,7 +63,6 @@ namespace gsr {
std::unique_ptr<List> create_hotkey_control_buttons();
std::unique_ptr<Subsection> create_keyboard_hotkey_subsection(ScrollablePage *parent_page);
std::unique_ptr<Subsection> create_controller_hotkey_subsection(ScrollablePage *parent_page);
std::unique_ptr<CheckBox> create_high_performance_encoding_option();
std::unique_ptr<Button> create_exit_program_button();
std::unique_ptr<Button> create_go_back_to_old_ui_button();
std::unique_ptr<Subsection> create_application_options_subsection(ScrollablePage *parent_page);
@@ -97,7 +95,6 @@ namespace gsr {
Button *take_screenshot_button_ptr = nullptr;
Button *take_screenshot_region_button_ptr = nullptr;
Button *show_hide_button_ptr = nullptr;
CheckBox *high_performance_encoding_checkbox_ptr = nullptr;
ConfigHotkey configure_config_hotkey;
ConfigureHotkeyType configure_hotkey_type = ConfigureHotkeyType::NONE;