Skip to content

Commit

Permalink
OpenCLフィルタを使用すると--dhrd10-infoが効かなくなっていたのを修正。
Browse files Browse the repository at this point in the history
途中でデータが渡されていなかった。
  • Loading branch information
rigaya committed Oct 15, 2021
1 parent fc762be commit bbfb44d
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions QSVPipeline/qsv_pipeline_ctrl.h
Original file line number Diff line number Diff line change
Expand Up @@ -1667,6 +1667,7 @@ class PipelineTaskOpenCL : public PipelineTask {
clFrameInInterop->frame.timestamp = surfVppIn->Data.TimeStamp;
clFrameInInterop->frame.inputFrameId = surfVppIn->Data.FrameOrder;
clFrameInInterop->frame.picstruct = picstruct_enc_to_rgy(surfVppIn->Info.PicStruct);
clFrameInInterop->frame.dataList = taskSurf->surf().frame()->dataList();
filterframes.push_back(std::make_pair(clFrameInInterop->frameInfo(), 0u));
} else if (taskSurf->surf().clframe() != nullptr) {
//OpenCLフレームが出てきた時の場合
Expand Down Expand Up @@ -1793,6 +1794,7 @@ class PipelineTaskOpenCL : public PipelineTask {
surfVppOut.frame()->setInputFrameId(encSurfaceInfo.inputFrameId);
surfVppOut.frame()->setPicstruct(encSurfaceInfo.picstruct);
surfVppOut.frame()->setFlags(encSurfaceInfo.flags);
surfVppOut.frame()->setDataList(encSurfaceInfo.dataList);

outputSurfs.push_back(std::make_unique<PipelineTaskOutputSurf>(m_mfxSession, surfVppOut, frame, clevent));

Expand Down

0 comments on commit bbfb44d

Please sign in to comment.