1
mirror of https://github.com/mpv-player/mpv synced 2025-01-16 22:37:28 +01:00

vo_corevideo: Move variable into the only function it's used in

git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@31826 b3059339-0415-0410-9bf9-f77b7e298cf2
This commit is contained in:
reimar 2010-07-25 17:43:22 +00:00 committed by Uoti Urpala
parent 2e6847a352
commit cc6428a72c
2 changed files with 1 additions and 1 deletions

View File

@ -40,7 +40,6 @@
{
//Cocoa
NSWindow *window;
NSEvent *event;
//CoreVideo
CVPixelBufferRef frameBuffers[2];

View File

@ -878,6 +878,7 @@ static int control(uint32_t request, void *data)
*/
- (void) check_events
{
NSEvent *event;
int curTime = TickCount()/60;
//automatically hide mouse cursor (and future on-screen control?)