d3d11_scaler: fix Intel Super Resolution enabling

The wrong API was used to set kIntelVpeFnScaling.
This commit is contained in:
Steve Lhomme 2024-03-20 16:02:26 +01:00 committed by Jean-Baptiste Kempf
parent 12511587fe
commit 6a5b788c5d
1 changed files with 2 additions and 2 deletions

View File

@ -552,8 +552,8 @@ int D3D11_UpscalerUpdate(vlc_object_t *vd, d3d11_scaler *scaleProc, d3d11_device
ext.function = kIntelVpeFnScaling;
param = upscale ? kIntelVpeScalingSuperResolution : kIntelVpeScalingDefault;
hr = scaleProc->d3dvidctx->VideoProcessorSetOutputExtension(
scaleProc->processor.Get(),
hr = scaleProc->d3dvidctx->VideoProcessorSetStreamExtension(
scaleProc->processor.Get(), 0,
&GUID_INTEL_VPE_INTERFACE, sizeof(ext), &ext);
if (FAILED(hr)) {
msg_Err(vd, "Failed to set the Intel VPE scaling type. (hr=0x%lX)", hr);