Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
V
vlc-2-2
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-2-2
Commits
8e3953e5
Commit
8e3953e5
authored
Jan 06, 2012
by
Felix Paul Kühne
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
macosx: make sure we update the menu from the main thread only (fixes #5737)
parent
4012f039
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
3 deletions
+3
-3
modules/gui/macosx/intf.m
modules/gui/macosx/intf.m
+3
-3
No files found.
modules/gui/macosx/intf.m
View file @
8e3953e5
...
@@ -259,7 +259,7 @@ static int InputEvent( vlc_object_t *p_this, const char *psz_var,
...
@@ -259,7 +259,7 @@ static int InputEvent( vlc_object_t *p_this, const char *psz_var,
break
;
break
;
case
INPUT_EVENT_TITLE
:
case
INPUT_EVENT_TITLE
:
case
INPUT_EVENT_CHAPTER
:
case
INPUT_EVENT_CHAPTER
:
[[
VLCMain
sharedInstance
]
updateMainMenu
];
[[
VLCMain
sharedInstance
]
performSelectorOnMainThread
:
@selector
(
updateMainMenu
)
withObject
:
nil
waitUntilDone
:
NO
];
break
;
break
;
case
INPUT_EVENT_CACHE
:
case
INPUT_EVENT_CACHE
:
[[
VLCMain
sharedInstance
]
performSelectorOnMainThread
:
@selector
(
updateMainWindow
)
withObject
:
nil
waitUntilDone
:
NO
];
[[
VLCMain
sharedInstance
]
performSelectorOnMainThread
:
@selector
(
updateMainWindow
)
withObject
:
nil
waitUntilDone
:
NO
];
...
@@ -277,7 +277,7 @@ static int InputEvent( vlc_object_t *p_this, const char *psz_var,
...
@@ -277,7 +277,7 @@ static int InputEvent( vlc_object_t *p_this, const char *psz_var,
break
;
break
;
case
INPUT_EVENT_ITEM_META
:
case
INPUT_EVENT_ITEM_META
:
case
INPUT_EVENT_ITEM_INFO
:
case
INPUT_EVENT_ITEM_INFO
:
[[
VLCMain
sharedInstance
]
updateMainMenu
];
[[
VLCMain
sharedInstance
]
performSelectorOnMainThread
:
@selector
(
updateMainMenu
)
withObject
:
nil
waitUntilDone
:
NO
];
[[
VLCMain
sharedInstance
]
updateName
];
[[
VLCMain
sharedInstance
]
updateName
];
[[
VLCMain
sharedInstance
]
updateInfoandMetaPanel
];
[[
VLCMain
sharedInstance
]
updateInfoandMetaPanel
];
break
;
break
;
...
@@ -287,7 +287,7 @@ static int InputEvent( vlc_object_t *p_this, const char *psz_var,
...
@@ -287,7 +287,7 @@ static int InputEvent( vlc_object_t *p_this, const char *psz_var,
[[
VLCMain
sharedInstance
]
updateRecordState
:
var_GetBool
(
p_this
,
"record"
)];
[[
VLCMain
sharedInstance
]
updateRecordState
:
var_GetBool
(
p_this
,
"record"
)];
break
;
break
;
case
INPUT_EVENT_PROGRAM
:
case
INPUT_EVENT_PROGRAM
:
[[
VLCMain
sharedInstance
]
updateMainMenu
];
[[
VLCMain
sharedInstance
]
performSelectorOnMainThread
:
@selector
(
updateMainMenu
)
withObject
:
nil
waitUntilDone
:
NO
];
break
;
break
;
case
INPUT_EVENT_ITEM_EPG
:
case
INPUT_EVENT_ITEM_EPG
:
break
;
break
;
...
...
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