Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
V
vlc
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
Commits
c87e0df3
Commit
c87e0df3
authored
Apr 28, 2014
by
David Fuhrmann
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
macosx: properly inform the extension manager about finished inputs
parent
46d154e1
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
7 deletions
+6
-7
modules/gui/macosx/intf.m
modules/gui/macosx/intf.m
+6
-7
No files found.
modules/gui/macosx/intf.m
View file @
c87e0df3
...
...
@@ -1258,11 +1258,11 @@ static VLCMain *_o_sharedMainInstance = nil;
// This must be called on main thread
-
(
void
)
PlaylistItemChanged
{
input_thread_t
*
p_input_changed
=
nil
;
input_thread_t
*
p_input_changed
=
NULL
;
if
(
p_current_input
&&
(
p_current_input
->
b_dead
||
!
vlc_object_alive
(
p_current_input
)))
{
var_DelCallback
(
p_current_input
,
"intf-event"
,
InputEvent
,
[
VLCMain
sharedInstance
]);
p_input_changed
=
p_current_input
;
vlc_object_release
(
p_current_input
)
;
p_current_input
=
NULL
;
[
o_mainmenu
setRateControlsEnabled
:
NO
];
...
...
@@ -1293,12 +1293,11 @@ static VLCMain *_o_sharedMainInstance = nil;
* and other issues, we need to inform the extension manager on a separate thread.
* The serial queue ensures that changed inputs are propagated in the same order as they arrive.
*/
if
(
p_input_changed
)
{
dispatch_async
(
informInputChangedQueue
,
^
{
[[
ExtensionsManager
getInstance
:
p_intf
]
inputChanged
:
p_input_changed
];
dispatch_async
(
informInputChangedQueue
,
^
{
[[
ExtensionsManager
getInstance
:
p_intf
]
inputChanged
:
p_input_changed
];
if
(
p_input_changed
)
vlc_object_release
(
p_input_changed
);
});
}
});
}
-
(
void
)
updateMainMenu
...
...
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