mirror of
https://gitlab.freedesktop.org/pipewire/pipewire.git
synced 2026-04-23 06:47:02 -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
2953f48d9b
commit
43b19e7668
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.y = meta->y;
|
||||
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;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue