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
6cbf48f1
Commit
6cbf48f1
authored
Apr 06, 2012
by
Felix Paul Kühne
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
macosx: work-around a racing condition (close #6412)
parent
2059bea4
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
7 additions
and
0 deletions
+7
-0
modules/gui/macosx/playlistinfo.h
modules/gui/macosx/playlistinfo.h
+2
-0
modules/gui/macosx/playlistinfo.m
modules/gui/macosx/playlistinfo.m
+5
-0
No files found.
modules/gui/macosx/playlistinfo.h
View file @
6cbf48f1
...
...
@@ -98,6 +98,8 @@
VLCInfoTreeItem
*
rootItem
;
input_item_t
*
p_item
;
BOOL
b_awakeFromNib
;
}
-
(
void
)
initPanel
;
...
...
modules/gui/macosx/playlistinfo.m
View file @
6cbf48f1
...
...
@@ -121,6 +121,8 @@ static VLCInfo *_o_sharedInstance = nil;
[
o_info_window
setInitialFirstResponder
:
o_uri_txt
];
[
o_info_window
setDelegate
:
self
];
b_awakeFromNib
=
YES
;
/* We may be awoken from nib way after initialisation
* Update ourselves */
[
self
updatePanelWithItem
:
p_item
];
...
...
@@ -278,6 +280,9 @@ static VLCInfo *_o_sharedInstance = nil;
-
(
void
)
updateStatistics
{
if
(
!
b_awakeFromNib
)
return
;
if
([
o_info_window
isVisible
])
{
if
(
!
p_item
||
!
p_item
->
p_stats
)
...
...
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