mirror of
https://github.com/brl/mutter.git
synced 2024-11-22 16:10:41 -05:00
screen-cast/stream-src: Fix min/max framerate typo
The min was set to the max, and the max was set to the min, making
virtual monitors refresh rate very very slow.
Fixes: 215b91a2e6
("screen-cast/src: Consider preferred format for stream")
Part-of: <https://gitlab.gnome.org/GNOME/mutter/-/merge_requests/3239>
This commit is contained in:
parent
e303551745
commit
7c2453cd8c
@ -1273,8 +1273,8 @@ create_pipewire_stream (MetaScreenCastStreamSrc *src,
|
||||
struct spa_rectangle min_size = MIN_SIZE;
|
||||
struct spa_rectangle max_size = MAX_SIZE;
|
||||
struct spa_fraction default_framerate = DEFAULT_FRAME_RATE;
|
||||
struct spa_fraction max_framerate = MIN_FRAME_RATE;
|
||||
struct spa_fraction min_framerate = MAX_FRAME_RATE;
|
||||
struct spa_fraction min_framerate = MIN_FRAME_RATE;
|
||||
struct spa_fraction max_framerate = MAX_FRAME_RATE;
|
||||
struct pw_stream *pipewire_stream;
|
||||
uint8_t buffer[1024];
|
||||
struct spa_pod_builder pod_builder =
|
||||
|
Loading…
Reference in New Issue
Block a user