[vlc-commits] macosx/backlight control: turn error into warning as this is normal for MacBooks with a touchbar

Felix Paul Kühne git at videolan.org
Sun Jun 2 12:36:27 CEST 2019


vlc | branch: master | Felix Paul Kühne <felix at feepk.net> | Sun Jun  2 11:30:37 2019 +0200| [3a62b6fc5fe9764441f09ca32c7a84b79843d6ee] | committer: Felix Paul Kühne

macosx/backlight control: turn error into warning as this is normal for MacBooks with a touchbar

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

 modules/gui/macosx/os-integration/VLCKeyboardBacklightControl.m | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/modules/gui/macosx/os-integration/VLCKeyboardBacklightControl.m b/modules/gui/macosx/os-integration/VLCKeyboardBacklightControl.m
index 3bba8e7c3c..261963f893 100644
--- a/modules/gui/macosx/os-integration/VLCKeyboardBacklightControl.m
+++ b/modules/gui/macosx/os-integration/VLCKeyboardBacklightControl.m
@@ -63,7 +63,7 @@ enum {
     io_service_t serviceObject = IOServiceGetMatchingService(kIOMasterPortDefault, IOServiceMatching("AppleLMUController"));
 
     if (!serviceObject) {
-        msg_Err(getIntf(), "Failed to get an AppleLMUController service, keyboard dimming will not work");
+        msg_Warn(getIntf(), "Failed to get an AppleLMUController service, keyboard dimming will not work");
         return 0;
     }
 
@@ -71,7 +71,7 @@ enum {
     IOObjectRelease(serviceObject);
 
     if (kr != KERN_SUCCESS) {
-        msg_Err(getIntf(), "Failed to open an AppleLMUController service, keyboard dimming will not work");
+        msg_Warn(getIntf(), "Failed to open an AppleLMUController service, keyboard dimming will not work");
         return 0;
     }
 



More information about the vlc-commits mailing list