mirror of
https://github.com/hyprwm/xdg-desktop-portal-hyprland.git
synced 2024-11-25 23:45:58 +01:00
pipewire: stop announcing a range as the video size
We can only serve a video with a size as send from the compositor, so no need to announce any range.
This commit is contained in:
parent
dee06d015d
commit
ab8e3bea00
1 changed files with 1 additions and 4 deletions
|
@ -43,10 +43,7 @@ static struct spa_pod *build_format(struct spa_pod_builder *b, enum spa_video_fo
|
|||
SPA_POD_CHOICE_ENUM_Id(3, format, format, format_without_alpha), 0);
|
||||
}
|
||||
spa_pod_builder_add(b, SPA_FORMAT_VIDEO_size,
|
||||
SPA_POD_CHOICE_RANGE_Rectangle(
|
||||
&SPA_RECTANGLE(width, height),
|
||||
&SPA_RECTANGLE(1, 1),
|
||||
&SPA_RECTANGLE(4096, 4096)),
|
||||
SPA_POD_Rectangle(&SPA_RECTANGLE(width, height)),
|
||||
0);
|
||||
// variable framerate
|
||||
spa_pod_builder_add(b, SPA_FORMAT_VIDEO_framerate,
|
||||
|
|
Loading…
Reference in a new issue