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:
Charles 2026-04-21 20:15:49 +01:00 committed by Wim Taymans
parent e01ff7e67e
commit 51c6e70ae5

View file

@ -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;