Commit b24328a6 authored by Pierre d'Herbemont's avatar Pierre d'Herbemont

macosx: Fix +resetVout prototype. (Fix #1679 "Fullscreen mode with video...

macosx: Fix +resetVout prototype. (Fix #1679 "Fullscreen mode with video window without controls crashes").
parent fc842132
......@@ -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 */
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment