mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-27 04:01:08 +00:00
video: fix A420 size calculation
This commit is contained in:
parent
0feecef275
commit
df186d5240
1 changed files with 1 additions and 1 deletions
|
@ -506,7 +506,7 @@ fill_planes (GstVideoInfo * info)
|
|||
info->stride[1] * (GST_ROUND_UP_2 (height) / 2);
|
||||
info->offset[3] = info->offset[2] +
|
||||
info->stride[2] * (GST_ROUND_UP_2 (height) / 2);
|
||||
info->size = info->offset[3] + info->stride[0];
|
||||
info->size = info->offset[3] + info->stride[0] * GST_ROUND_UP_2 (height);
|
||||
break;
|
||||
case GST_VIDEO_FORMAT_YUV9:
|
||||
case GST_VIDEO_FORMAT_YVU9:
|
||||
|
|
Loading…
Reference in a new issue