[vlc-devel] commit: macosx: Fix +resetVout prototype. (Fix #1679 " Fullscreen mode with video window without controls crashes"). (Pierre d' Herbemont )
git version control
git at videolan.org
Tue Jul 8 02:25:26 CEST 2008
vlc | branch: master | Pierre d'Herbemont <pdherbemont at videolan.org> | Tue Jul 8 02:27:39 2008 +0200| [b24328a62e388dfc1e6b772b0794e0e07dc2a02c]
macosx: Fix +resetVout prototype. (Fix #1679 "Fullscreen mode with video window without controls crashes").
> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=b24328a62e388dfc1e6b772b0794e0e07dc2a02c
---
modules/gui/macosx/voutgl.m | 5 +++--
1 files changed, 3 insertions(+), 2 deletions(-)
diff --git a/modules/gui/macosx/voutgl.m b/modules/gui/macosx/voutgl.m
index 8625617..13d8817 100644
--- a/modules/gui/macosx/voutgl.m
+++ b/modules/gui/macosx/voutgl.m
@@ -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 */
More information about the vlc-devel
mailing list