mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-10 03:19:40 +00:00
image: fix update from NV12 buffers.
This commit is contained in:
parent
12c85f69ff
commit
ad390f3569
1 changed files with 1 additions and 1 deletions
|
@ -1129,7 +1129,7 @@ gst_vaapi_image_update_from_buffer(
|
|||
src_image.stride[0] = GST_ROUND_UP_4(width);
|
||||
size2 += height * src_image.stride[0];
|
||||
src_image.pixels[1] = data + size2;
|
||||
src_image.stride[1] = src_image.stride[1];
|
||||
src_image.stride[1] = src_image.stride[0];
|
||||
size2 += height2 * src_image.stride[1];
|
||||
break;
|
||||
case GST_VAAPI_IMAGE_YV12:
|
||||
|
|
Loading…
Reference in a new issue