dxgiscreencapsrc: Capturing from the same Monitor twice
Hi,
I would like it if we could use the dxgiscreencapsrc
to capture from the same monitor twice. There is a limitation with the the DXGI API.
https://docs.microsoft.com/en-us/windows/win32/api/dxgi1_2/nf-dxgi1_2-idxgioutput1-duplicateoutput#remarks
By default, only four processes can use a IDXGIOutputDuplication interface at the same time within a single session. A process can have only one desktop duplication interface on a single desktop output; however, that process can have a desktop duplication interface for each output that is part of the desktop.
This might not be desirable as the caps might not be configurable from the dxgiscreencapsrc
plugin but could still be configured using other plugins attached (videocrop
etc).
The use case is we would like to use dxgiscreencapsrc
across 2 separate pipelines.