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
ad14bac8
Commit
ad14bac8
authored
Aug 18, 2008
by
Laurent Aimar
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fixed a potential race condition in interaction.
parent
ed3b76b3
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
0 deletions
+5
-0
src/interface/interaction.c
src/interface/interaction.c
+5
-0
No files found.
src/interface/interaction.c
View file @
ad14bac8
...
@@ -470,9 +470,14 @@ static int DialogSend( vlc_object_t *p_this, interaction_dialog_t *p_dialog )
...
@@ -470,9 +470,14 @@ static int DialogSend( vlc_object_t *p_this, interaction_dialog_t *p_dialog )
{
{
interaction_t
*
p_interaction
=
InteractionGet
(
p_this
);
interaction_t
*
p_interaction
=
InteractionGet
(
p_this
);
if
(
!
p_interaction
)
return
VLC_EGENERIC
;
/* Get an id, if we don't already have one */
/* Get an id, if we don't already have one */
vlc_object_lock
(
p_interaction
);
if
(
p_dialog
->
i_id
==
0
)
if
(
p_dialog
->
i_id
==
0
)
p_dialog
->
i_id
=
++
p_interaction
->
i_last_id
;
p_dialog
->
i_id
=
++
p_interaction
->
i_last_id
;
vlc_object_unlock
(
p_interaction
);
if
(
p_this
->
i_flags
&
OBJECT_FLAGS_NOINTERACT
)
if
(
p_this
->
i_flags
&
OBJECT_FLAGS_NOINTERACT
)
{
{
...
...
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