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
cb56da1c
Commit
cb56da1c
authored
May 31, 2008
by
Rémi Denis-Courmont
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
inhibit: fix another instance of the killed-before-wait race
parent
0adb6e3e
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
3 deletions
+2
-3
modules/misc/inhibit.c
modules/misc/inhibit.c
+2
-3
No files found.
modules/misc/inhibit.c
View file @
cb56da1c
...
...
@@ -227,13 +227,12 @@ static int UnInhibit( intf_thread_t *p_intf )
static
void
Run
(
intf_thread_t
*
p_intf
)
{
vlc_object_lock
(
p_intf
);
for
(;;
)
while
(
vlc_object_alive
(
p_intf
)
)
{
input_thread_t
*
p_input
;
/* Check playing state every 30 seconds */
if
(
vlc_object_timedwait
(
p_intf
,
mdate
()
+
30000000
)
<
0
)
break
;
vlc_object_timedwait
(
p_intf
,
mdate
()
+
30000000
);
p_input
=
vlc_object_find
(
p_intf
,
VLC_OBJECT_INPUT
,
FIND_ANYWHERE
);
if
(
p_input
)
...
...
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