mirror of
https://github.com/brl/mutter.git
synced 2025-02-23 08:24:09 +00:00

To be able to cast windows, which by definition can change in size dynamically, we need a way to specify the video crop meta to adjust to the window size whenever it changes. Add VideoCrop support with a new optional hook `get_videocrop()` in the `ScreenCastStreamSrcClass` which, if defined, can let the child specify a rectangle for the video cropping area. https://gitlab.gnome.org/GNOME/mutter/merge_requests/306 (cherry picked from commit f64eba57ce3fb67a65a5c5755469d4b97067030f)
Description
Languages
C
98.9%
Meson
0.7%
Python
0.3%