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:
parent
2e6847a352
commit
cc6428a72c
@ -40,7 +40,6 @@
|
||||
{
|
||||
//Cocoa
|
||||
NSWindow *window;
|
||||
NSEvent *event;
|
||||
|
||||
//CoreVideo
|
||||
CVPixelBufferRef frameBuffers[2];
|
||||
|
@ -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?)
|
||||
|
Loading…
Reference in New Issue
Block a user