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
20caf788
Commit
20caf788
authored
Sep 03, 2008
by
Rémi Denis-Courmont
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Do not lock the input while talking to D-Bus
parent
fbaf2698
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
7 additions
and
11 deletions
+7
-11
modules/misc/inhibit.c
modules/misc/inhibit.c
+7
-11
No files found.
modules/misc/inhibit.c
View file @
20caf788
...
...
@@ -230,28 +230,24 @@ static void Run( intf_thread_t *p_intf )
p_input
=
vlc_object_find
(
p_intf
,
VLC_OBJECT_INPUT
,
FIND_ANYWHERE
);
if
(
p_input
)
{
if
(
PLAYING_S
==
p_input
->
i_state
&&
!
p_intf
->
p_sys
->
i_cookie
)
int
i_state
=
p_input
->
i_state
;
vlc_object_release
(
p_input
);
if
(
PLAYING_S
==
i_state
&&
!
p_intf
->
p_sys
->
i_cookie
)
{
if
(
!
Inhibit
(
p_intf
)
)
{
vlc_object_release
(
p_input
);
goto
end
;
}
break
;
}
else
if
(
p_intf
->
p_sys
->
i_cookie
)
{
if
(
!
UnInhibit
(
p_intf
)
)
{
vlc_object_release
(
p_input
);
goto
end
;
}
break
;
}
vlc_object_release
(
p_input
);
}
else
if
(
p_intf
->
p_sys
->
i_cookie
)
{
if
(
!
UnInhibit
(
p_intf
)
)
goto
end
;
break
;
}
}
...
...
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