bayer2rgb: Fix RGB stride calculation
This fixes a regression introduced in 4c92d4096e9. Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/9146>
This commit is contained in:
parent
2a0c77fb78
commit
da892230d8
@ -396,7 +396,7 @@ gst_bayer2rgb_get_unit_size (GstBaseTransform * base, GstCaps * caps,
|
||||
return TRUE;
|
||||
} else {
|
||||
/* For output, calculate according to format */
|
||||
*size = width * height * DIV_ROUND_UP (bayer2rgb->bpp, 8);
|
||||
*size = width * height * 4 * DIV_ROUND_UP (bayer2rgb->bpp, 8);
|
||||
return TRUE;
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user