[vlc-commits] vout: win32: Don't return a released sensor
Hugo Beauzée-Luyssen
git at videolan.org
Tue Jun 5 11:31:23 CEST 2018
vlc/vlc-3.0 | branch: master | Hugo Beauzée-Luyssen <hugo at beauzee.fr> | Mon Jun 4 10:05:51 2018 +0200| [44109185246ced98f1bc50e7f9a7c44551942904] | committer: Jean-Baptiste Kempf
vout: win32: Don't return a released sensor
Should fix CD e4997f13-5939-4135-8ceb-bbd7f8ed74af
(cherry picked from commit b3521625b279f92f7f92d8a486da562a7581ef37)
Signed-off-by: Jean-Baptiste Kempf <jb at videolan.org>
> http://git.videolan.org/gitweb.cgi/vlc/vlc-3.0.git/?a=commit;h=44109185246ced98f1bc50e7f9a7c44551942904
---
modules/video_output/win32/sensors.cpp | 1 +
1 file changed, 1 insertion(+)
diff --git a/modules/video_output/win32/sensors.cpp b/modules/video_output/win32/sensors.cpp
index 69a5f9c531..25bf7870fb 100644
--- a/modules/video_output/win32/sensors.cpp
+++ b/modules/video_output/win32/sensors.cpp
@@ -216,6 +216,7 @@ void *HookWindowsSensors(vout_display_t *vd, HWND hwnd)
}
pSensor->Release();
+ pSensor = NULL;
}
}
pInclinometers->Release();
More information about the vlc-commits
mailing list