Commit 31612911 authored by Rémi Denis-Courmont's avatar Rémi Denis-Courmont
Browse files

playlist: create the fullscreen variable

At least the ncurses and MacOS interface already depends on this, and
the earlier did not create it... This is needed for a later fix to
LibVLC.
parent 36d657e1
......@@ -516,7 +516,6 @@ static VLCMain *_o_sharedMainInstance = nil;
p_playlist = pl_Get( p_intf );
var_Create( p_playlist, "fullscreen", VLC_VAR_BOOL | VLC_VAR_DOINHERIT);
val.b_bool = false;
var_AddCallback( p_playlist, "fullscreen", FullscreenChanged, self);
......
......@@ -313,6 +313,9 @@ static void VariablesInit( playlist_t *p_playlist )
/* */
var_Create( p_playlist, "album-art", VLC_VAR_INTEGER | VLC_VAR_DOINHERIT );
/* Variables to preserve video output parameters */
var_Create( p_playlist, "fullscreen", VLC_VAR_BOOL | VLC_VAR_DOINHERIT );
}
playlist_item_t * playlist_CurrentPlayingItem( playlist_t * p_playlist )
......
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