mirror of
https://gitlab.freedesktop.org/pipewire/pipewire.git
synced 2025-10-29 05:40:27 -04:00
spa: libcamera: remove unnecessary cast
This commit is contained in:
parent
8bccad3ade
commit
5cdf4d6c64
1 changed files with 1 additions and 1 deletions
|
|
@ -124,7 +124,7 @@ static int emit_info(struct impl *impl, bool full)
|
|||
ADD_ITEM(SPA_KEY_OBJECT_PATH, path);
|
||||
ADD_ITEM(SPA_KEY_DEVICE_API, "libcamera");
|
||||
ADD_ITEM(SPA_KEY_MEDIA_CLASS, "Video/Device");
|
||||
ADD_ITEM(SPA_KEY_API_LIBCAMERA_PATH, (char *)impl->props.device);
|
||||
ADD_ITEM(SPA_KEY_API_LIBCAMERA_PATH, impl->props.device);
|
||||
|
||||
if (auto location = cameraLoc(impl->camera.get()))
|
||||
ADD_ITEM(SPA_KEY_API_LIBCAMERA_LOCATION, location);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue