mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-12-22 16:26:39 +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/4179>
This commit is contained in:
parent
096bd3c4a2
commit
e1a73a723f
1 changed files with 1 additions and 1 deletions
|
@ -4145,7 +4145,7 @@ gst_d3d11_converter_convert_buffer_internal (GstD3D11Converter * self,
|
||||||
if (in_d3d11)
|
if (in_d3d11)
|
||||||
piv_available = gst_d3d11_converter_piv_available (self, in_buf);
|
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 */
|
/* processor only */
|
||||||
use_processor = TRUE;
|
use_processor = TRUE;
|
||||||
} else if (piv_available) {
|
} else if (piv_available) {
|
||||||
|
|
Loading…
Reference in a new issue