Commit 05618307 authored by Felix Paul Kühne's avatar Felix Paul Kühne

* remove commented ifs o_O

parent 98734156
...@@ -1011,7 +1011,6 @@ int DeviceCallback( vlc_object_t *p_this, const char *psz_variable, ...@@ -1011,7 +1011,6 @@ int DeviceCallback( vlc_object_t *p_this, const char *psz_variable,
NULL, NULL, fullScreenAllowEvents ); NULL, NULL, fullScreenAllowEvents );
} }
if( b_black == VLC_TRUE ) if( b_black == VLC_TRUE )
//if( var_GetBool( p_real_vout, "macosx-black" ) )
{ {
CGAcquireDisplayFadeReservation(kCGMaxDisplayReservationInterval, &token); CGAcquireDisplayFadeReservation(kCGMaxDisplayReservationInterval, &token);
CGDisplayFade( token, 2 , kCGDisplayBlendSolidColor, kCGDisplayBlendNormal, 0, 0, 0, false ); CGDisplayFade( token, 2 , kCGDisplayBlendSolidColor, kCGDisplayBlendNormal, 0, 0, 0, false );
...@@ -1101,7 +1100,6 @@ int DeviceCallback( vlc_object_t *p_this, const char *psz_variable, ...@@ -1101,7 +1100,6 @@ int DeviceCallback( vlc_object_t *p_this, const char *psz_variable,
if( p_fullscreen_state ) if( p_fullscreen_state )
EndFullScreen( p_fullscreen_state, 0 ); EndFullScreen( p_fullscreen_state, 0 );
if( b_black == VLC_TRUE ) if( b_black == VLC_TRUE )
//if( var_GetBool( p_vout, "macosx-black" ) )
{ {
CGDisplayFadeReservationToken token; CGDisplayFadeReservationToken token;
CGAcquireDisplayFadeReservation(kCGMaxDisplayReservationInterval, &token); CGAcquireDisplayFadeReservation(kCGMaxDisplayReservationInterval, &token);
......
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