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
4e4731d6
Commit
4e4731d6
authored
Mar 10, 2007
by
Jean-Paul Saman
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Properly cleanup hal connection when connecting to dbuse failed.
parent
36fbb333
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
0 deletions
+5
-0
src/libvlc-common.c
src/libvlc-common.c
+5
-0
No files found.
src/libvlc-common.c
View file @
4e4731d6
...
@@ -1795,6 +1795,11 @@ static void InitDeviceValues( libvlc_int_t *p_vlc )
...
@@ -1795,6 +1795,11 @@ static void InitDeviceValues( libvlc_int_t *p_vlc )
p_connection
=
dbus_bus_get
(
DBUS_BUS_SYSTEM
,
&
error
);
p_connection
=
dbus_bus_get
(
DBUS_BUS_SYSTEM
,
&
error
);
if
(
dbus_error_is_set
(
&
error
)
)
if
(
dbus_error_is_set
(
&
error
)
)
{
{
#ifdef HAVE_HAL_1
libhal_ctx_shutdown
(
ctx
,
NULL
);
#else
hal_shutdown
(
ctx
);
#endif
dbus_error_free
(
&
error
);
dbus_error_free
(
&
error
);
return
;
return
;
}
}
...
...
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