mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-23 18:21:04 +00:00
vtenc: fix complier error using fixed lenght arrays
This commit is contained in:
parent
abadffd4d8
commit
110c21a136
1 changed files with 4 additions and 4 deletions
|
@ -780,10 +780,10 @@ gst_vtenc_encode_frame (GstVTEnc * self, GstBuffer * buf)
|
|||
|
||||
{
|
||||
const size_t num_planes = GST_VIDEO_FRAME_N_PLANES (&frame->videoframe);
|
||||
void *plane_base_addresses[num_planes];
|
||||
size_t plane_widths[num_planes];
|
||||
size_t plane_heights[num_planes];
|
||||
size_t plane_bytes_per_row[num_planes];
|
||||
void *plane_base_addresses[GST_VIDEO_MAX_PLANES];
|
||||
size_t plane_widths[GST_VIDEO_MAX_PLANES];
|
||||
size_t plane_heights[GST_VIDEO_MAX_PLANES];
|
||||
size_t plane_bytes_per_row[GST_VIDEO_MAX_PLANES];
|
||||
OSType pixel_format_type;
|
||||
size_t i;
|
||||
|
||||
|
|
Loading…
Reference in a new issue