mirror of
https://gitlab.freedesktop.org/pipewire/pipewire.git
synced 2026-03-22 05:33:53 -04:00
parent
3a2d16a3bc
commit
6f73e42d05
1 changed files with 2 additions and 2 deletions
|
|
@ -98,9 +98,9 @@ static int emit_info(struct impl *this, bool full)
|
||||||
(this->dev.cap.version >> 8) & 0xFF,
|
(this->dev.cap.version >> 8) & 0xFF,
|
||||||
(this->dev.cap.version) & 0xFF);
|
(this->dev.cap.version) & 0xFF);
|
||||||
ADD_ITEM(SPA_KEY_API_V4L2_CAP_VERSION, version);
|
ADD_ITEM(SPA_KEY_API_V4L2_CAP_VERSION, version);
|
||||||
snprintf(capabilities, sizeof(capabilities), "%08x", this->dev.cap.capabilities);
|
snprintf(capabilities, sizeof(capabilities), "0x%08x", this->dev.cap.capabilities);
|
||||||
ADD_ITEM(SPA_KEY_API_V4L2_CAP_CAPABILITIES, capabilities);
|
ADD_ITEM(SPA_KEY_API_V4L2_CAP_CAPABILITIES, capabilities);
|
||||||
snprintf(device_caps, sizeof(device_caps), "%08x", this->dev.cap.device_caps);
|
snprintf(device_caps, sizeof(device_caps), "0x%08x", this->dev.cap.device_caps);
|
||||||
ADD_ITEM(SPA_KEY_API_V4L2_CAP_DEVICE_CAPS, device_caps);
|
ADD_ITEM(SPA_KEY_API_V4L2_CAP_DEVICE_CAPS, device_caps);
|
||||||
#undef ADD_ITEM
|
#undef ADD_ITEM
|
||||||
info.props = &SPA_DICT_INIT(items, n_items);
|
info.props = &SPA_DICT_INIT(items, n_items);
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue