Fix the DG2 HDR TM tearing issue on Windows

Signed-off-by: nyanmisaka <nst799610810@gmail.com>
This commit is contained in:
nyanmisaka 2022-10-25 14:56:01 +08:00
parent 39b29eb9f1
commit 48da35f91f
1 changed files with 6 additions and 0 deletions

View File

@ -3404,6 +3404,12 @@ namespace MediaBrowser.Controller.MediaEncoding
// map from d3d11va to qsv.
mainFilters.Add("hwmap=derive_device=qsv");
}
else
{
// Insert a qsv scaler to sync the decoder surface,
// msdk will passthrough this internally.
mainFilters.Add("hwmap=derive_device=qsv,scale_qsv");
}
}
// hw deint