cudautils: fix critical typo in gst_cuda_buffer_fallback_copy

Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/2194>
This commit is contained in:
Corentin Damman 2022-04-15 13:19:36 +00:00 committed by GStreamer Marge Bot
parent 3d9f25d322
commit c68c40a6bc

View file

@ -706,7 +706,7 @@ gst_cuda_buffer_fallback_copy (GstBuffer * dst, const GstVideoInfo * dst_info,
}
/* src and dst resolutions can be different, pick min value */
for (i = 0; GST_VIDEO_FRAME_N_PLANES (&dst_frame); i++) {
for (i = 0; i < GST_VIDEO_FRAME_N_PLANES (&dst_frame); i++) {
guint dst_width_in_bytes, src_width_in_bytes;
guint dst_height, src_height;
guint width_in_bytes, height;