mirror of
https://gitlab.freedesktop.org/pipewire/pipewire.git
synced 2026-04-25 06:46:40 -04:00
gst: fix crop height typo in pipewiresink do_send_buffer
The crop region height was incorrectly set to meta->width instead of meta->height when copying GstVideoCropMeta into the SPA buffer.
This commit is contained in:
parent
e01ff7e67e
commit
51c6e70ae5
1 changed files with 1 additions and 1 deletions
|
|
@ -655,7 +655,7 @@ do_send_buffer (GstPipeWireSink *pwsink, GstBuffer *buffer)
|
||||||
data->crop->region.position.x = meta->x;
|
data->crop->region.position.x = meta->x;
|
||||||
data->crop->region.position.y = meta->y;
|
data->crop->region.position.y = meta->y;
|
||||||
data->crop->region.size.width = meta->width;
|
data->crop->region.size.width = meta->width;
|
||||||
data->crop->region.size.height = meta->width;
|
data->crop->region.size.height = meta->height;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
data->b->size = 0;
|
data->b->size = 0;
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue