Commit b813408a authored by Felix Paul Kühne's avatar Felix Paul Kühne
Browse files

macosx: added an extra sanity check to fix video playback on Macs using the...

macosx: added an extra sanity check to fix video playback on Macs using the QT4 interface (fullscreen mode still broken)
parent 08606c71
/*****************************************************************************
* vout.m: MacOS X video output module
*****************************************************************************
* Copyright (C) 2001-2007 the VideoLAN team
* Copyright (C) 2001-2008 the VideoLAN team
* $Id$
*
* Authors: Colin Delacroix <colin@zoy.org>
......@@ -441,6 +441,9 @@ int DeviceCallback( vlc_object_t *p_this, const char *psz_variable,
- (void)manage
{
/* Disable Screensaver, when we're playing something, but allow it on pause */
if( !VLCIntf || !VLCIntf->p_sys || !VLCIntf->p_sys->i_play_status )
return;
if( VLCIntf->p_sys->i_play_status == PLAYING_S )
UpdateSystemActivity( UsrActivity );
}
......
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