Commit 7719074b authored by Pierre d'Herbemont's avatar Pierre d'Herbemont

* backport [19647]

Mac OS X gui: Fix a crash when asking for fullscreen state when no p_real_vout is defined.
parent ced98bf6
...@@ -382,6 +382,7 @@ int DeviceCallback( vlc_object_t *p_this, const char *psz_variable, ...@@ -382,6 +382,7 @@ int DeviceCallback( vlc_object_t *p_this, const char *psz_variable,
- (BOOL)isFullscreen - (BOOL)isFullscreen
{ {
vlc_value_t val; vlc_value_t val;
if( !p_real_vout ) return NO;
var_Get( p_real_vout, "fullscreen", &val ); var_Get( p_real_vout, "fullscreen", &val );
return( val.b_bool ); return( val.b_bool );
} }
......
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