[vlc-commits] vout: win32: Remove an unused local property key definition

Martin Storsjö git at videolan.org
Wed Sep 30 09:15:24 CEST 2020


vlc/vlc-3.0 | branch: master | Martin Storsjö <martin at martin.st> | Thu Apr  2 09:59:05 2020 +0300| [b01a87f61042ce4124037e1bc529083deac4649b] | committer: Martin Storsjö

vout: win32: Remove an unused local property key definition

This one used to be missing from mingw-w64 headers, but was added there
yesterday in git master.

If this one actually is used, and we can't be sure of whether it exists
in system headers, we could define it ourselves, but with a unique
prefix. But in this case it simply seems to be unused.

This fixes compilation with the very latest mingw-w64 headers.

(cherry picked from commit 5398108a0c52d20ba0f657339a4465136b80e4e5)

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

 modules/video_output/win32/sensors.cpp | 4 ----
 1 file changed, 4 deletions(-)

diff --git a/modules/video_output/win32/sensors.cpp b/modules/video_output/win32/sensors.cpp
index 25bf7870fb..e1bed26e4a 100644
--- a/modules/video_output/win32/sensors.cpp
+++ b/modules/video_output/win32/sensors.cpp
@@ -35,10 +35,6 @@
 
 #include <new>
 
-#ifndef _MSC_VER
-DEFINE_PROPERTYKEY(SENSOR_DATA_TYPE_MAGNETOMETER_ACCURACY, 0x1637d8a2, 0x4248, 0x4275, 0x86, 0x5d, 0x55, 0x8d, 0xe8, 0x4a, 0xed, 0xfd, 22);
-#endif
-
 class SensorReceiver : public ISensorEvents
 {
 public:



More information about the vlc-commits mailing list