mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-12-30 04:00:37 +00:00
d3d11compositor: Workaround blending artifacts on Intel platform
Disable vendor implemented converter in d3d11compositor to workaround artifacts Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/3770>
This commit is contained in:
parent
2cdfccc3b5
commit
467a2408a1
1 changed files with 4 additions and 0 deletions
|
@ -825,6 +825,10 @@ gst_d3d11_compositor_pad_setup_converter (GstVideoAggregatorPad * pad,
|
|||
|
||||
if (!cpad->convert) {
|
||||
GstStructure *config = gst_structure_new ("converter-config",
|
||||
/* XXX: Always use shader, to workaround buggy blending behavior of
|
||||
* vendor implemented converter. Need investigation */
|
||||
GST_D3D11_CONVERTER_OPT_BACKEND, GST_TYPE_D3D11_CONVERTER_BACKEND,
|
||||
GST_D3D11_CONVERTER_BACKEND_SHADER,
|
||||
GST_D3D11_CONVERTER_OPT_GAMMA_MODE,
|
||||
GST_TYPE_VIDEO_GAMMA_MODE, cpad->gamma_mode,
|
||||
GST_D3D11_CONVERTER_OPT_PRIMARIES_MODE,
|
||||
|
|
Loading…
Reference in a new issue