Skip to content

Commit

Permalink
jetson_buffer で落ちなくなったが、最初のフレームが表示され続ける
Browse files Browse the repository at this point in the history
  • Loading branch information
enm10k committed Dec 22, 2023
1 parent c9f432e commit 7a486c7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/hwenc_jetson/jetson_buffer.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -139,7 +139,7 @@ rtc::scoped_refptr<webrtc::I420BufferInterface> 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);
}
}
Expand Down

0 comments on commit 7a486c7

Please sign in to comment.