Skip to content

d3d12screencapturesrc: Fix choppy display

Seungha Yang requested to merge seungha.yang/gstreamer:d3d12-capture-fix into main

According to recommendation from MS, IDXGIOutputDuplication::ReleaseFrame() needs to be called just before IDXGIOutputDuplication::AcquireNextFrame() for performance reasons, so that driver can accumulate dirty rects and update texture at once. But it seems to cause choppy output. Do release acquired frame immediately once processing done, like d3d11 implementation does.

Merge request reports