[vlc-commits] vout: direct3d: don't set is_slow to its default value

Steve Lhomme git at videolan.org
Wed Jul 31 12:19:02 CEST 2019


vlc | branch: master | Steve Lhomme <robux4 at ycbcr.xyz> | Wed Jul 31 10:24:58 2019 +0200| [549c1e37e4d1f55229792bb3e91020c664ae47ec] | committer: Steve Lhomme

vout: direct3d: don't set is_slow to its default value

No need to.

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

 modules/video_output/win32/direct3d11.c | 1 -
 modules/video_output/win32/direct3d9.c  | 3 +--
 2 files changed, 1 insertion(+), 3 deletions(-)

diff --git a/modules/video_output/win32/direct3d11.c b/modules/video_output/win32/direct3d11.c
index 3ef9dd24a0..fd791828f2 100644
--- a/modules/video_output/win32/direct3d11.c
+++ b/modules/video_output/win32/direct3d11.c
@@ -1213,7 +1213,6 @@ static int Direct3D11CreateFormatResources(vout_display_t *vd, const video_forma
     }
 #endif
 
-    vd->info.is_slow = false;
     return VLC_SUCCESS;
 }
 
diff --git a/modules/video_output/win32/direct3d9.c b/modules/video_output/win32/direct3d9.c
index 9c1cf01064..6d114e63ee 100644
--- a/modules/video_output/win32/direct3d9.c
+++ b/modules/video_output/win32/direct3d9.c
@@ -1736,7 +1736,6 @@ static int Open(vout_display_t *vd, const vout_display_cfg_t *cfg,
     }
 
     /* Setup vout_display now that everything is fine */
-    vd->info.is_slow = false;
     vd->info.has_pictures_invalid = !is_d3d9_opaque(fmt.i_chroma);
 
     if (var_InheritBool(vd, "direct3d9-hw-blending") &&
@@ -1974,7 +1973,7 @@ GLConvOpen(vlc_object_t *obj)
                                                &priv->dx_render, &shared_handle);
     if (FAILED(hr))
     {
-        msg_Warn(obj, "IDirect3DDevice9_CreateOffscreenPlainSurface failed");
+        msg_Warn(obj, "IDirect3DDevice9Ex_CreateRenderTarget failed");
         goto error;
     }
 



More information about the vlc-commits mailing list