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
parent 2953f48d9b
commit 43b19e7668

View file

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