Skip to content

Commit

Permalink
NvBufSurfaceTag の指定を誤っている箇所があったので修正する
Browse files Browse the repository at this point in the history
  • Loading branch information
enm10k committed Dec 26, 2023
1 parent 9698501 commit 2037977
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/hwenc_jetson/jetson_video_decoder.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -423,7 +423,7 @@ int JetsonVideoDecoder::SetCapture() {
cParams.height = capture_crop_->c.height;
cParams.layout = NVBUF_LAYOUT_PITCH;
cParams.colorFormat = NVBUF_COLOR_FORMAT_YUV420;
cParams.memtag = NvBufSurfaceTag_VIDEO_ENC;
cParams.memtag = NvBufSurfaceTag_VIDEO_DEC;
cParams.memType = NVBUF_MEM_SURFACE_ARRAY;

ret = NvBufSurf::NvAllocate(&cParams, 1, &dst_dma_fd_);
Expand Down

0 comments on commit 2037977

Please sign in to comment.