[vlc-commits] direct3d9: Enable software decoding direct rendering
Hugo Beauzée-Luyssen
git at videolan.org
Mon Apr 10 09:47:30 CEST 2017
vlc | branch: master | Hugo Beauzée-Luyssen <hugo at beauzee.fr> | Fri Apr 7 15:57:19 2017 +0200| [70ca97dd0c9484c07eea00f0553c5b7f971b09ed] | committer: Hugo Beauzée-Luyssen
direct3d9: Enable software decoding direct rendering
> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=70ca97dd0c9484c07eea00f0553c5b7f971b09ed
---
modules/video_output/win32/direct3d9.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/modules/video_output/win32/direct3d9.c b/modules/video_output/win32/direct3d9.c
index 76c9a2f6b3..080721db82 100644
--- a/modules/video_output/win32/direct3d9.c
+++ b/modules/video_output/win32/direct3d9.c
@@ -273,10 +273,10 @@ static int Open(vlc_object_t *object)
/* */
vout_display_info_t info = vd->info;
- info.is_slow = !is_d3d9_opaque(fmt.i_chroma);
+ info.is_slow = !is_d3d9_opaque(fmt.i_chroma) && (vd->fmt.i_chroma != vd->source.i_chroma);
info.has_double_click = true;
info.has_hide_mouse = false;
- info.has_pictures_invalid = !is_d3d9_opaque(fmt.i_chroma);
+ info.has_pictures_invalid = info.is_slow;
if (var_InheritBool(vd, "direct3d9-hw-blending") &&
sys->d3dregion_format != D3DFMT_UNKNOWN &&
(sys->d3dcaps.SrcBlendCaps & D3DPBLENDCAPS_SRCALPHA) &&
More information about the vlc-commits
mailing list