Commit 1bf20469 authored by Felix Paul Kühne's avatar Felix Paul Kühne

macosx: limit the screensaver blocking to video playback

parent cb2ec471
......@@ -1454,7 +1454,7 @@ unsigned int CocoaKeyToVLC( unichar i_key )
p_input = pl_CurrentInput( p_intf );
if( p_input )
{
if( var_GetInteger( p_input, "state" ) == PLAYING_S )
if( var_GetInteger( p_input, "state" ) == PLAYING_S && [self activeVideoPlayback] )
UpdateSystemActivity( UsrActivity );
vlc_object_release( p_input );
}
......
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