mirror of
https://repo.dec05eba.com/gpu-screen-recorder-ui
synced 2026-03-31 09:17:04 +09:00
Only use mallopt M_MMAP_THRESHOLD if glibc
This commit is contained in:
4
TODO
4
TODO
@@ -210,4 +210,6 @@ Window selection doesn't work when a window is fullscreen on x11.
|
|||||||
Make it possible to change replay duration of the "save 1 min" and "save 10 min" by adding them to the replay settings as options.
|
Make it possible to change replay duration of the "save 1 min" and "save 10 min" by adding them to the replay settings as options.
|
||||||
|
|
||||||
If replay duration is set below the "save 1 min" or "save 10 min" then gray them out and when hovering over those buttons
|
If replay duration is set below the "save 1 min" or "save 10 min" then gray them out and when hovering over those buttons
|
||||||
show a tooltip that says that those buttons cant be used because the replay duration in replay settings is set to a lower value than that (and display the replay duration there).
|
show a tooltip that says that those buttons cant be used because the replay duration in replay settings is set to a lower value than that (and display the replay duration there).
|
||||||
|
|
||||||
|
Add content framerate mode for wayland with desktop portal capture when it has been added to gpu-screen-recorder and if it works.
|
||||||
@@ -195,7 +195,9 @@ enum class LaunchAction {
|
|||||||
|
|
||||||
int main(int argc, char **argv) {
|
int main(int argc, char **argv) {
|
||||||
setlocale(LC_ALL, "C"); // Sigh... stupid C
|
setlocale(LC_ALL, "C"); // Sigh... stupid C
|
||||||
|
#ifdef __GLIBC__
|
||||||
mallopt(M_MMAP_THRESHOLD, 65536);
|
mallopt(M_MMAP_THRESHOLD, 65536);
|
||||||
|
#endif
|
||||||
|
|
||||||
if(geteuid() == 0) {
|
if(geteuid() == 0) {
|
||||||
fprintf(stderr, "Error: don't run gsr-ui as the root user\n");
|
fprintf(stderr, "Error: don't run gsr-ui as the root user\n");
|
||||||
|
|||||||
Reference in New Issue
Block a user