#include "video.h"
#include "video_output.h"
-#include "main.h"
-
-
/*****************************************************************************
* intf_sys_t: description and status of rc interface
*****************************************************************************/
case 'f':
case 'F':
- p_main->p_vout->i_changes |= VOUT_FULLSCREEN_CHANGE;
+ vlc_mutex_lock( &p_vout_bank->lock );
+ /* XXX: only fullscreen the first video output */
+ if( p_vout_bank->i_count )
+ {
+ p_vout_bank->pp_vout[0]->i_changes
+ |= VOUT_FULLSCREEN_CHANGE;
+ }
+ vlc_mutex_unlock( &p_vout_bank->lock );
break;
case 'm':