pipewire/src
Wim Taymans faf5ae0c2f impl-link: improve negotiation
Make a function to create a filter. This is a pod that has all valid
defaults fixated and the invalid ones left unfixated.

Use this filter is a first attempt to negotiate a link format. The
effect is that a format will be chosen first that matches all the valid
defaults as much as possible instead of negotiating to the first thing
that matches.

Suppose we have a higher priority port with the format:

 foo/bar
    key: { default:1024, min:1, max:2048 }

And another port with two params:

 foo/bar
    key: 512
    rate: 2/1
 foo/bar
    key: 1024
    rate: 30/1

By first trying key: 1024 we negotiate to the more specific second property
with the higher rate.
2025-05-05 10:12:26 +02:00
..
daemon systemd: Depend on dbus.service 2025-03-20 12:23:22 +00:00
examples examples: add rate as a constant 2025-05-05 09:45:57 +02:00
gst gst: Add H.265 support 2025-05-05 07:38:25 +00:00
modules filter-chain: add props only once 2025-04-30 12:20:31 +02:00
pipewire impl-link: improve negotiation 2025-05-05 10:12:26 +02:00
tests pw-container: use smaller path for temporary file 2024-06-27 21:18:06 +00:00
tools tools: add c key to reset ERR counters 2025-04-30 15:10:15 +02:00
meson.build meson.build: fix compile with -Dexamples=disabled 2023-11-28 10:18:25 +00:00