vlc/vlc-2.0 | branch: master | Laurent Aimar <[email protected]> | Fri Feb 10 20:29:21 2012 +0100| [7d3b2e27c270344c1e70bd39f5baa1f33e4442d9] | committer: Jean-Baptiste Kempf
Used linear filtering when converting chroma in D3D. It seems to also be used for chroma upsampling. It fixes #5751. (cherry picked from commit 760e0cba0df6e11a1ac20ac6b678b60c6fa9e95c) Signed-off-by: Jean-Baptiste Kempf <[email protected]> > http://git.videolan.org/gitweb.cgi/vlc/vlc-2.0.git/?a=commit;h=7d3b2e27c270344c1e70bd39f5baa1f33e4442d9 --- modules/video_output/msw/direct3d.c | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/modules/video_output/msw/direct3d.c b/modules/video_output/msw/direct3d.c index 0cf652e..07f697a 100644 --- a/modules/video_output/msw/direct3d.c +++ b/modules/video_output/msw/direct3d.c @@ -1166,7 +1166,7 @@ static int Direct3DImportPicture(vout_display_t *vd, /* Copy picture surface into texture surface * color space conversion happen here */ - hr = IDirect3DDevice9_StretchRect(sys->d3ddev, source, NULL, destination, NULL, D3DTEXF_NONE); + hr = IDirect3DDevice9_StretchRect(sys->d3ddev, source, NULL, destination, NULL, D3DTEXF_LINEAR); IDirect3DSurface9_Release(destination); if (FAILED(hr)) { msg_Dbg(vd, "%s:%d (hr=0x%0lX)", __FUNCTION__, __LINE__, hr); _______________________________________________ vlc-commits mailing list [email protected] http://mailman.videolan.org/listinfo/vlc-commits
