mirror of
https://repo.dec05eba.com/gpu-screen-recorder-ui
synced 2026-03-31 09:17:04 +09:00
Add constant bitrate option
This commit is contained in:
@@ -17,6 +17,7 @@ namespace gsr {
|
||||
int32_t record_area_width = 0;
|
||||
int32_t record_area_height = 0;
|
||||
int32_t fps = 60;
|
||||
int32_t video_bitrate = 5000;
|
||||
bool merge_audio_tracks = true;
|
||||
std::vector<std::string> audio_tracks;
|
||||
std::string color_range = "limited";
|
||||
|
||||
@@ -49,8 +49,9 @@ namespace gsr {
|
||||
std::unique_ptr<List> create_audio_track_section();
|
||||
std::unique_ptr<CheckBox> create_merge_audio_tracks_checkbox();
|
||||
std::unique_ptr<Widget> create_audio_device_section();
|
||||
std::unique_ptr<ComboBox> create_video_quality_box();
|
||||
std::unique_ptr<List> create_video_quality();
|
||||
std::unique_ptr<List> create_video_quality_box();
|
||||
std::unique_ptr<Entry> create_video_bitrate_entry();
|
||||
std::unique_ptr<List> create_video_bitrate();
|
||||
std::unique_ptr<ComboBox> create_color_range_box();
|
||||
std::unique_ptr<List> create_color_range();
|
||||
std::unique_ptr<List> create_video_quality_section();
|
||||
@@ -115,6 +116,8 @@ namespace gsr {
|
||||
Entry *area_width_entry_ptr = nullptr;
|
||||
Entry *area_height_entry_ptr = nullptr;
|
||||
Entry *framerate_entry_ptr = nullptr;
|
||||
Entry *video_bitrate_entry_ptr = nullptr;
|
||||
List *video_bitrate_list_ptr = nullptr;
|
||||
List *audio_devices_list_ptr = nullptr;
|
||||
CheckBox *merge_audio_tracks_checkbox_ptr = nullptr;
|
||||
ComboBox *color_range_box_ptr = nullptr;
|
||||
|
||||
Reference in New Issue
Block a user