mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-18 15:51:11 +00:00
d3d11converter: Fix conversion backend selection
Intended behavior was selecting video processor only if pixel shader is disabled, since we prefer shader over video processor Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/4189>
This commit is contained in:
parent
07ba258ead
commit
c975f0d26f
1 changed files with 1 additions and 1 deletions
|
@ -4145,7 +4145,7 @@ gst_d3d11_converter_convert_buffer_internal (GstD3D11Converter * self,
|
|||
if (in_d3d11)
|
||||
piv_available = gst_d3d11_converter_piv_available (self, in_buf);
|
||||
|
||||
if ((priv->supported_backend & GST_D3D11_CONVERTER_BACKEND_SHADER) != 0) {
|
||||
if ((priv->supported_backend & GST_D3D11_CONVERTER_BACKEND_SHADER) == 0) {
|
||||
/* processor only */
|
||||
use_processor = TRUE;
|
||||
} else if (piv_available) {
|
||||
|
|
Loading…
Reference in a new issue