mirror of
https://gitlab.freedesktop.org/pipewire/pipewire.git
synced 2025-11-14 06:59:57 -05:00
udev's ID_MODEL_ID and ID_VENDOR_ID are inconsistent: always 4-digit hex but sound devices are prefixed with 0x, v4l devices are not. Depending on the actual ID, the value will look like decimal (1234) or hex (a234). pw-dump will then print those as either decimal integers (i.e. 0x1234 becomes decimal 1234) or double (i.e. a234 becomes 41524.00). Make this consistent by converting the string from hex do decimal where we get it. |
||
|---|---|---|
| .. | ||
| meson.build | ||
| v4l2-device.c | ||
| v4l2-source.c | ||
| v4l2-udev.c | ||
| v4l2-utils.c | ||
| v4l2.c | ||
| v4l2.h | ||