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

macosx: preserve settings done through the menus across vouts via the playlist object (close #6550)

parent e1b1237c
...@@ -1125,6 +1125,10 @@ static VLCMainMenu *_o_sharedInstance = nil; ...@@ -1125,6 +1125,10 @@ static VLCMainMenu *_o_sharedInstance = nil;
assert([data isKindOfClass:[VLCAutoGeneratedMenuContent class]]); assert([data isKindOfClass:[VLCAutoGeneratedMenuContent class]]);
VLCAutoGeneratedMenuContent *menuContent = (VLCAutoGeneratedMenuContent *)data; VLCAutoGeneratedMenuContent *menuContent = (VLCAutoGeneratedMenuContent *)data;
/* Preserve settings across vouts via the playlist object: */
if( !strcmp( [menuContent name], "fullscreen" ) || !strcmp( [menuContent name], "video-on-top" ) )
var_Set( pl_Get( VLCIntf ), [menuContent name] , [menuContent value] );
p_object = [menuContent vlcObject]; p_object = [menuContent vlcObject];
if( p_object != NULL ) if( p_object != NULL )
......
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