Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
V
vlc-1.1
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-1.1
Commits
560016e3
Commit
560016e3
authored
Jul 05, 2008
by
Pierre d'Herbemont
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
macosx: Use playlist_CurrentInput().
This should fix some race condition of freed input usage.
parent
d90d8b7d
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
1 deletion
+2
-1
modules/gui/macosx/intf.m
modules/gui/macosx/intf.m
+2
-1
No files found.
modules/gui/macosx/intf.m
View file @
560016e3
...
@@ -1155,7 +1155,7 @@ static VLCMain *_o_sharedMainInstance = nil;
...
@@ -1155,7 +1155,7 @@ static VLCMain *_o_sharedMainInstance = nil;
if
(
p_intf
->
p_sys
->
p_input
==
NULL
)
if
(
p_intf
->
p_sys
->
p_input
==
NULL
)
{
{
p_intf
->
p_sys
->
p_input
=
p
_playlist
->
p_input
;
p_intf
->
p_sys
->
p_input
=
p
laylist_CurrentInput
(
p_playlist
)
;
/* Refresh the interface */
/* Refresh the interface */
if
(
p_intf
->
p_sys
->
p_input
)
if
(
p_intf
->
p_sys
->
p_input
)
...
@@ -1170,6 +1170,7 @@ static VLCMain *_o_sharedMainInstance = nil;
...
@@ -1170,6 +1170,7 @@ static VLCMain *_o_sharedMainInstance = nil;
p_intf
->
p_sys
->
b_intf_update
=
true
;
p_intf
->
p_sys
->
b_intf_update
=
true
;
p_intf
->
p_sys
->
i_play_status
=
END_S
;
p_intf
->
p_sys
->
i_play_status
=
END_S
;
msg_Dbg
(
p_intf
,
"input has stopped, refreshing interface"
);
msg_Dbg
(
p_intf
,
"input has stopped, refreshing interface"
);
vlc_object_release
(
p_intf
->
p_sys
->
p_input
);
p_intf
->
p_sys
->
p_input
=
NULL
;
p_intf
->
p_sys
->
p_input
=
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