mirror of
https://gitlab.freedesktop.org/pipewire/pipewire.git
synced 2025-11-01 22:58:50 -04:00
libcamera: fix compilation error
Upstream libcamera commit 32635054bc76e2ababd8ea2177fca1f88229541a changed "planes" on `FrameMetadata` to be a function. Adapt the plugin code accordingly.
This commit is contained in:
parent
1595ff37e8
commit
f288a2b77d
1 changed files with 1 additions and 1 deletions
|
|
@ -843,7 +843,7 @@ extern "C" {
|
|||
unsigned int planeIdx = 0;
|
||||
const std::vector<FrameBuffer::Plane> &planes = buffer->planes();
|
||||
const FrameMetadata &metadata = buffer->metadata();
|
||||
for (const FrameMetadata::Plane &plane : metadata.planes) {
|
||||
for (const FrameMetadata::Plane &plane : metadata.planes()) {
|
||||
pBuf->datas[planeIdx].idx = planeIdx;
|
||||
pBuf->datas[planeIdx].type = 3; /*SPA_DATA_DmaBuf;*/
|
||||
pBuf->datas[planeIdx].fd = planes[planeIdx].fd.fd();
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue