Nevcairiel / LAVFilters

LAV Filters - Open-Source DirectShow Media Splitter and Decoders
GNU General Public License v2.0
7.19k stars 786 forks source link

Generic D3D11 copyback choice #602

Closed clsid2 closed 3 weeks ago

clsid2 commented 3 weeks ago

I think it would be useful to be able to force copyback mode for D3D11 without having to select a specific GPU. So a generic system-independent setting value.

Nevcairiel commented 3 weeks ago

All that "default device" would do is use the first device - which you can also do.

A generic/universal "first device" choice through the API can be easily achieved by setting SetHWAccelDeviceIndex(HWAccel_D3D11, 0, 0), or when directly providing a pre-set registry, just having HWAccelDeviceD3D11 = 0 and HWAccelDeviceD3D11Desc = 0