[vlc-commits] direct3d9: no need to place the picture when the device is reset

Steve Lhomme git at videolan.org
Tue May 7 16:50:07 CEST 2019


vlc | branch: master | Steve Lhomme <robux4 at ycbcr.xyz> | Wed Apr 24 09:06:39 2019 +0200| [22340b1a103af4f9eedf4e4e618b89b50f81a8a3] | committer: Steve Lhomme

direct3d9: no need to place the picture when the device is reset

No picture/display dimension has changed or it has been done through the core.

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

 modules/video_output/win32/direct3d9.c | 2 --
 1 file changed, 2 deletions(-)

diff --git a/modules/video_output/win32/direct3d9.c b/modules/video_output/win32/direct3d9.c
index bfa67e8cf4..c2ac0ca1e7 100644
--- a/modules/video_output/win32/direct3d9.c
+++ b/modules/video_output/win32/direct3d9.c
@@ -915,8 +915,6 @@ static int Direct3D9Reset(vout_display_t *vd, video_format_t *fmtp)
         return VLC_EGENERIC;
     }
 
-    CommonPlacePicture(VLC_OBJECT(vd), &sys->area, &sys->sys);
-
     /* re-create them */
     if (Direct3D9CreateResources(vd, fmtp)) {
         msg_Dbg(vd, "Direct3D9CreateResources failed !");



More information about the vlc-commits mailing list