From 7a486c7280f4cd5bbbeb98a82e4e07841edcb1be Mon Sep 17 00:00:00 2001 From: enm10k Date: Fri, 6 Oct 2023 17:40:34 +0900 Subject: [PATCH] =?UTF-8?q?jetson=5Fbuffer=20=E3=81=A7=E8=90=BD=E3=81=A1?= =?UTF-8?q?=E3=81=AA=E3=81=8F=E3=81=AA=E3=81=A3=E3=81=9F=E3=81=8C=E3=80=81?= =?UTF-8?q?=E6=9C=80=E5=88=9D=E3=81=AE=E3=83=95=E3=83=AC=E3=83=BC=E3=83=A0?= =?UTF-8?q?=E3=81=8C=E8=A1=A8=E7=A4=BA=E3=81=95=E3=82=8C=E7=B6=9A=E3=81=91?= =?UTF-8?q?=E3=82=8B?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/hwenc_jetson/jetson_buffer.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/hwenc_jetson/jetson_buffer.cpp b/src/hwenc_jetson/jetson_buffer.cpp index 3fdd31aa..b1a695fd 100644 --- a/src/hwenc_jetson/jetson_buffer.cpp +++ b/src/hwenc_jetson/jetson_buffer.cpp @@ -139,7 +139,7 @@ rtc::scoped_refptr JetsonBuffer::ToI420() { for (int i = 0; i < height; i++) { memcpy(dest_addr + width * i, (uint8_t*)data_addr + - dst_surf->surfaceList->planeParams.pitch[i] * i, + dst_surf->surfaceList->planeParams.pitch[plane] * i, width); } }