mirror of
https://gitlab.freedesktop.org/pipewire/pipewire.git
synced 2025-10-29 05:40:27 -04:00
treewide: map SPA_PROP_exposure to V4L2_CID_EXPOSURE_ABSOLUTE
Currently the v4l2 and libcamera plugins map `SPA_PROP_exposure` in incompatible ways. So change the v4l2 mapping to `V4L2_CID_EXPOSURE_ABSOLUTE` because at least that is in units of time (a step closer to addressing #4697), and because that is more relevant for UVC cameras. Also change the pipewire-v4l2 translation layer.
This commit is contained in:
parent
f10dec9dae
commit
3b33f60d2f
2 changed files with 2 additions and 2 deletions
|
|
@ -2115,7 +2115,7 @@ static struct {
|
|||
{ V4L2_CID_SATURATION, SPA_PROP_saturation },
|
||||
{ V4L2_CID_HUE, SPA_PROP_hue },
|
||||
{ V4L2_CID_GAMMA, SPA_PROP_gamma },
|
||||
{ V4L2_CID_EXPOSURE, SPA_PROP_exposure },
|
||||
{ V4L2_CID_EXPOSURE_ABSOLUTE, SPA_PROP_exposure },
|
||||
{ V4L2_CID_GAIN, SPA_PROP_gain },
|
||||
{ V4L2_CID_SHARPNESS, SPA_PROP_sharpness },
|
||||
};
|
||||
|
|
|
|||
|
|
@ -1347,7 +1347,7 @@ static struct {
|
|||
{ V4L2_CID_SATURATION, SPA_PROP_saturation },
|
||||
{ V4L2_CID_HUE, SPA_PROP_hue },
|
||||
{ V4L2_CID_GAMMA, SPA_PROP_gamma },
|
||||
{ V4L2_CID_EXPOSURE, SPA_PROP_exposure },
|
||||
{ V4L2_CID_EXPOSURE_ABSOLUTE, SPA_PROP_exposure },
|
||||
{ V4L2_CID_GAIN, SPA_PROP_gain },
|
||||
{ V4L2_CID_SHARPNESS, SPA_PROP_sharpness },
|
||||
};
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue