pipewire/spa
Robert Mader 1e6920c33b video: Add extra field indicating if modifier value is valid
The drm format modifier value `0` is actually `DRM_FORMAT_MOD_LINEAR`,
a commonly used modifier. Unfortunately there appears to be no value
that can savely used as placeholder for "no value", as e.g.
`DRM_FORMAT_MOD_INVALID` is often used to indicate an implicit modifier.

Thus add an extra field that clearly indicates whether the modifier
value is set or not, add it to the util fuctions and use it for the
current only user, the libcamera backend.

Fixes 5a6da7d5e1

Closes https://gitlab.freedesktop.org/pipewire/pipewire/-/issues/2943
2023-01-10 22:01:31 +01:00
..
examples examples: fix spelling mistake 2022-06-16 16:40:47 +02:00
include video: Add extra field indicating if modifier value is valid 2023-01-10 22:01:31 +01:00
plugins video: Add extra field indicating if modifier value is valid 2023-01-10 22:01:31 +01:00
tests treewide: fix some strict-prototypes Clang warnings/errors 2022-10-12 07:32:47 +00:00
tools spa: tools: spa-inspect: clear and free handles 2022-06-16 16:59:40 +02:00
meson.build bluez5: backend-native: Add a ModemManager dependency 2022-10-05 19:31:50 +00:00