[vlc-devel] [PATCH] Fixed the beeping sound when you pause with a spacebar.

Joel Blumen jbcode42 at gmail.com
Fri Apr 23 05:50:11 CEST 2010


A rather simple fix, but effective. The default keyDown is what makes the beep, so simply overriding it makes the window ignore the input which I believe is handled by the JS wrappers anyways.
---
 Sources/VLCStyledVideoWindow.m |    5 +++++
 1 files changed, 5 insertions(+), 0 deletions(-)

diff --git a/Sources/VLCStyledVideoWindow.m b/Sources/VLCStyledVideoWindow.m
index 7396e4c..7cc3288 100644
--- a/Sources/VLCStyledVideoWindow.m
+++ b/Sources/VLCStyledVideoWindow.m
@@ -309,4 +309,9 @@ static inline BOOL debugStyledWindow(void)
     return YES;
 }
 
+-(void)keyDown:(NSEvent *)theEvent
+{
+
+}
+
 @end
-- 
1.6.5.7




More information about the vlc-devel mailing list