vlc/vlc-3.0 | branch: master | Marvin Scholz <epira...@gmail.com> | Thu Apr 22 17:13:15 2021 +0200| [cb6cf0cf91a82cce487f560fa83b4dc4c9ed967b] | committer: Marvin Scholz
macosx: SPMediaKeyTap: Improve log message Make it clearer where this message comes from, so it is more obvious if it ever pops up in the system log, especially now that VLC has a quite different SPMediaKeyTap compared to the (no longer maintained) upstream project. > http://git.videolan.org/gitweb.cgi/vlc/vlc-3.0.git/?a=commit;h=cb6cf0cf91a82cce487f560fa83b4dc4c9ed967b --- modules/gui/macosx/SPMediaKeyTap.m | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/modules/gui/macosx/SPMediaKeyTap.m b/modules/gui/macosx/SPMediaKeyTap.m index d82babb4ed..0b7dccdf70 100644 --- a/modules/gui/macosx/SPMediaKeyTap.m +++ b/modules/gui/macosx/SPMediaKeyTap.m @@ -218,7 +218,7 @@ static CGEventRef tapEventCallback2(CGEventTapProxy proxy, CGEventType type, CGE SPMediaKeyTap *self = (__bridge SPMediaKeyTap *)refcon; if(type == kCGEventTapDisabledByTimeout) { - NSLog(@"Media key event tap was disabled by timeout"); + NSLog(@"VLC SPMediaKeyTap: Media key event tap was disabled by timeout"); CGEventTapEnable(self->_eventPort, TRUE); return event; } else if(type == kCGEventTapDisabledByUserInput) { @@ -230,7 +230,7 @@ static CGEventRef tapEventCallback2(CGEventTapProxy proxy, CGEventType type, CGE nsEvent = [NSEvent eventWithCGEvent:event]; } @catch (NSException * e) { - NSLog(@"Strange CGEventType: %d: %@", type, e); + NSLog(@"VLC SPMediaKeyTap: Strange CGEventType: %d: %@", type, e); assert(0); return event; } _______________________________________________ vlc-commits mailing list vlc-commits@videolan.org https://mailman.videolan.org/listinfo/vlc-commits