Commit 63796ebf authored by Derk-Jan Hartman's avatar Derk-Jan Hartman

* Now uses the fullscreen variable instead of setting i_changes |=...

* Now uses the fullscreen variable instead of setting i_changes |= FULLSCREEN_CHANGE since this is not handled by vout filters, and variables are.
parent 16c7c714
......@@ -800,7 +800,10 @@ static void Run( intf_thread_t *p_intf )
if( p_vout )
{
p_vout->i_changes |= VOUT_FULLSCREEN_CHANGE;
vlc_value_t val;
var_Get( p_vout, "fullscreen", &val );
val.b_bool = !val.b_bool;
var_Set( p_vout, "fullscreen", val );
vlc_object_release( p_vout );
}
}
......
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