Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
V
vlc-gpu
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Redmine
Redmine
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Metrics
Environments
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
videolan
vlc-gpu
Commits
e7776651
Commit
e7776651
authored
Apr 02, 2012
by
Felix Paul Kühne
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
macosx: preserve settings done through the menus across vouts via the playlist object (close #6550)
(cherry picked from commit
1b00b4a7
)
parent
6dbaf8bc
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
0 deletions
+4
-0
modules/gui/macosx/MainMenu.m
modules/gui/macosx/MainMenu.m
+4
-0
No files found.
modules/gui/macosx/MainMenu.m
View file @
e7776651
...
...
@@ -1125,6 +1125,10 @@ static VLCMainMenu *_o_sharedInstance = nil;
assert
([
data
isKindOfClass
:[
VLCAutoGeneratedMenuContent
class
]]);
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
];
if
(
p_object
!=
NULL
)
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment