]> git.sesse.net Git - vlc/commitdiff
macosx: Fix +resetVout prototype. (Fix #1679 "Fullscreen mode with video window witho...
authorPierre d'Herbemont <pdherbemont@videolan.org>
Tue, 8 Jul 2008 00:27:39 +0000 (02:27 +0200)
committerPierre d'Herbemont <pdherbemont@videolan.org>
Tue, 8 Jul 2008 00:27:39 +0000 (02:27 +0200)
modules/gui/macosx/voutgl.m

index 86256177c9500eeacd7ec99cadae8fb04100a966..13d88175808f711a3730b8c53743e4ae96828b5b 100644 (file)
@@ -52,7 +52,7 @@
     vout_thread_t * p_vout;
 }
 
-+ (void)resetVout: (vout_thread_t *) p_vout;
++ (void)resetVout: (NSValue *) voutValue;
 - (id) initWithVout: (vout_thread_t *) p_vout;
 @end
 
@@ -324,8 +324,9 @@ static void Unlock( vout_thread_t * p_vout )
 }
 
 /* This function will reset the o_vout_view. It's useful to go fullscreen. */
-+ (void)resetVout:(vout_thread_t *) p_vout
++ (void)resetVout:(NSValue *) voutValue
 {
+    vout_thread_t * p_vout = [voutValue pointerValue];
     if( p_vout->b_fullscreen )
     {
         /* Save window size and position */