This website requires JavaScript.
Explore
Help
Sign In
hyprwm
/
xdg-desktop-portal-hyprland
mirror of
https://github.com/hyprwm/xdg-desktop-portal-hyprland.git
Watch
1
Star
0
Fork
You've already forked xdg-desktop-portal-hyprland
0
Code
Issues
Packages
Projects
Releases
Wiki
Activity
a18c298ad4
xdg-desktop-portal-hyprland
/
contrib
/
config.sample
4 lines
37 B
Plaintext
Raw
Normal View
History
Unescape
Escape
Add support for config file Closes: https://github.com/emersion/xdg-desktop-portal-wlr/issues/60
2021-03-03 10:29:56 +01:00
[screencast]
Control how many frames are captured per second The goal is to control the rate of capture while in screencast, as it can represent a performance issue and can cause input lag and the feeling of having a laggy mouse. This commit addresses the issue reported in #66. The code measures the time elapsed to make a single screen capture, and calculates how much to wait for the next capture to achieve the targeted frame rate. To delay the capturing of the next frame, the code introduces timers into the event loop based on the event loop in https://github.com/emersion/mako Added a command-line argument and an entry in the config file as well for the max FPS. The default value is 0, meaning no rate control. Added code to measure the average FPS every 5 seconds and print it with DEBUG level.
2020-12-23 19:47:10 +01:00
output_name=
max_fps=30