[vlc-commits] Revert "direct3d9: Enable software decoding direct rendering"

Hugo Beauzée-Luyssen git at videolan.org
Mon May 15 13:13:33 CEST 2017


vlc | branch: master | Hugo Beauzée-Luyssen <hugo at beauzee.fr> | Mon May 15 12:04:04 2017 +0200| [28c1d48fc567a94b55ef45100d4bcc991125994f] | committer: Hugo Beauzée-Luyssen

Revert "direct3d9: Enable software decoding direct rendering"

This reverts commit 70ca97dd0c9484c07eea00f0553c5b7f971b09ed.
Fix #18278

> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=28c1d48fc567a94b55ef45100d4bcc991125994f
---

 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 09a8537d19..805b7c67b6 100644
--- a/modules/video_output/win32/direct3d9.c
+++ b/modules/video_output/win32/direct3d9.c
@@ -267,10 +267,10 @@ static int Open(vlc_object_t *object)
 
     /* */
     vout_display_info_t info = vd->info;
-    info.is_slow = !is_d3d9_opaque(fmt.i_chroma) && (vd->fmt.i_chroma != vd->source.i_chroma);
+    info.is_slow = !is_d3d9_opaque(fmt.i_chroma);
     info.has_double_click = true;
     info.has_hide_mouse = false;
-    info.has_pictures_invalid = info.is_slow;
+    info.has_pictures_invalid = !is_d3d9_opaque(fmt.i_chroma);
     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