Skip to content

Commit

Permalink
Sync
Browse files Browse the repository at this point in the history
Signed-off-by: Albert Wolant <[email protected]>
  • Loading branch information
awolant committed Jun 10, 2024
1 parent dffd5b7 commit 2264892
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions plugins/video/pkg_src/src/decoder/video_decoder_mixed.cc
Original file line number Diff line number Diff line change
Expand Up @@ -101,6 +101,7 @@ void VideoDecoderMixed::Run(dali::Workspace &ws) {

for (int i = 0; i < nFrameReturned; i++) {
pFrame = sample.decoder_->GetFrame();
CUDA_CALL(cudaStreamSynchronize(cuStream));

uint8_t *dpFrame = output_data + num_frames * sample.demuxer_->GetHeight() *
sample.demuxer_->GetWidth() * 3;
Expand Down

0 comments on commit 2264892

Please sign in to comment.