diff options
author | Andoni Morales Alastruey <ylatuya@gmail.com> | 2013-04-03 16:12:01 +0200 |
---|---|---|
committer | Sebastian Dröge <sebastian.droege@collabora.co.uk> | 2013-04-04 11:39:45 +0200 |
commit | 7f18295321c66d7ca613cd0f26257cfa9681b74f (patch) | |
tree | b8f7c395ecf60aa4ac8e6cfb05bdef3e1faf252d /sys | |
parent | 725f8dc1f783390afae5e6d48eebc9a6995d3f47 (diff) | |
download | gstreamer-plugins-bad-7f18295321c66d7ca613cd0f26257cfa9681b74f.tar.gz |
d3dvideosink: use bilinear filter as much as possible
Use the bilinear scalling filter when the magnifier or the minifier
filters are avaible. Some graphics cards do not provide minifier filters
but we want to use it for upscalling if it's available
https://bugzilla.gnome.org/show_bug.cgi?id=697176
Diffstat (limited to 'sys')
-rw-r--r-- | sys/d3dvideosink/d3dhelpers.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/d3dvideosink/d3dhelpers.c b/sys/d3dvideosink/d3dhelpers.c index e3c9f6474..672bbebee 100644 --- a/sys/d3dvideosink/d3dhelpers.c +++ b/sys/d3dvideosink/d3dhelpers.c @@ -2362,7 +2362,7 @@ d3d_class_display_device_create (GstD3DVideoSinkClass * klass, UINT adapter) /* Check the filter type. */ if ((caps.StretchRectFilterCaps & D3DPTFILTERCAPS_MINFLINEAR) == D3DPTFILTERCAPS_MINFLINEAR - && (caps.StretchRectFilterCaps & D3DPTFILTERCAPS_MAGFLINEAR) == + || (caps.StretchRectFilterCaps & D3DPTFILTERCAPS_MAGFLINEAR) == D3DPTFILTERCAPS_MAGFLINEAR) { device->filter_type = D3DTEXF_LINEAR; } else { |