Code: Select all
--nvidia-affinity=1
Code: Select all
int nVidiaAffinity = var_InheritInteger(vd, "nvidia-affinity");
if (nVidiaAffinity >= 0) {
HGPUNV GpuMask[2];
HGPUNV hGPU;
GpuMask[0] = NULL;
GpuMask[1] = NULL;
if (wglEnumGpusNV(nVidiaAffinity , &hGPU)) {
GpuMask[0] = hGPU;
sys->hGLDC = wglCreateAffinityDCNV(GpuMask);
}
}
Any thoughts on what I may be doing wrong? Any one interested in looking at this development? We might be willing to pay for this feature to be developed and contributed back to vlc.
Thanks, David