Fix the IOSurf error in QSV transcoding (#11830)

pull/11857/head
Nyanmisaka 6 months ago committed by GitHub
parent 4a344bebc0
commit 5e7514243c
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

@ -4301,6 +4301,7 @@ namespace MediaBrowser.Controller.MediaEncoding
{
// map from qsv to vaapi.
mainFilters.Add("hwmap=derive_device=vaapi");
mainFilters.Add("format=vaapi");
}
var tonemapFilter = GetHwTonemapFilter(options, "vaapi", "nv12");
@ -4310,6 +4311,7 @@ namespace MediaBrowser.Controller.MediaEncoding
{
// map from vaapi to qsv.
mainFilters.Add("hwmap=derive_device=qsv");
mainFilters.Add("format=qsv");
}
}

Loading…
Cancel
Save