diff --git a/subprojects/gst-plugins-good/sys/v4l2/gstv4l2object.c b/subprojects/gst-plugins-good/sys/v4l2/gstv4l2object.c index 4a0821f01d..d6104dbea2 100644 --- a/subprojects/gst-plugins-good/sys/v4l2/gstv4l2object.c +++ b/subprojects/gst-plugins-good/sys/v4l2/gstv4l2object.c @@ -3551,7 +3551,9 @@ gst_v4l2_object_save_format (GstV4l2Object * v4l2object, if (GST_VIDEO_FORMAT_INFO_IS_TILED (finfo)) { guint tile_height; tile_height = GST_VIDEO_FORMAT_INFO_TILE_HEIGHT (finfo, 0); - padded_height = (padded_height + tile_height - 1) / tile_height; + /* Round-up to tile_height as drivers are not forced to do so */ + padded_height = + (padded_height + tile_height - 1) / tile_height * tile_height; } align->padding_bottom =